madec-project / ezvis

A dashboard to visualize a synthesis on a structured corpus, using several charts (pies, histograms, ...)
https://ezvis.readthedocs.org/
17 stars 5 forks source link

No filtering when groupPercent is set in pie chart #75

Open parmentf opened 9 years ago

parmentf commented 9 years ago

In a pie, when groupPercent is set, the associated records can't be seen.

When you click on that part of the pie, the filtering does not work: Showing 0 to 0 of 0 entries (filtered from 3,449 total entries)

On the same way, when you export the graph's data, there is no grouping of smallest values:

_id,value
Engineering,1497
Materials Science,925
Physics,750
Clinical Medicine,506
Chemistry,502
Mathematics,337
Computer Science,275
Environment/Ecology,187
Social Sciences,147
Biology & Biochemistry,119
Pharmacology & Toxicology,111
Psychiatry/Psychology,97
Geosciences,93
Plant & Animal Science,61
Neuroscience & Behavior,43
Microbiology,39
Molecular Biology & Genetics,36
Agricultural Sciences,34
Economics & Business,30
Immunology,19
Multidisciplinary,15
Space Science,7

This is due to the fact that the data are only hidden, or displayed in a grouping part of the pie. There is no grouped value (clicking on Other does not select anything).

lorraine_thematique

Study the possible solutions: