-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hello, nice chart!
What about showing the total count for each section in the legend? Or even in a tooltip while hovering each slice?
My service is returning an array of objects, each contains it's value... so let's say there are 3 sections, first with value = 3, second = 3, third = 6, with this formula I've converted these values into percentages:
series_data.map(s => ({
"label": s.label,
"value": s.value / data.total * 100,
color: s.color
}))
Total is the sum of all the values. Yeah I know...it's easy but I think that would be nice to have it implemented as an option, in order to avoid this conversion every time. :-)
Metadata
Metadata
Assignees
Labels
No labels