systopia / de.systopia.campaign

SYSTOPIA's Google Summer of Code project: CampaignManager
https://campaignmanager.systopia.de/
Other
6 stars 19 forks source link

Improve pie chart for KPI visualisation #93

Closed jensschuppe closed 3 years ago

jensschuppe commented 3 years ago

This reworks the campaign pie chart, especially the display of labels, which are now being displayed outside the chart, connected with a line, rather than placing them on top of the slices.

This way, the labels should be easier distinguishable.

Also, slices with less than 10% coverage do not display their labels initially, but only when hovering (with the mouse or when tapping on a touch device) over/on the pie chart slice, avoiding labels to overlap. This is not ideal, because sometimes there's enough space for all labels and sometimes they might still overlap (especially when there are long labels that get wrapped into multiple lines).

jensschuppe commented 3 years ago

Fixes #18.