You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the donut chart, I would like to see the percentage in the center.
It seems that the only way to display the percentage is to enable the property "dataLabels".
In "morris.donut.coffee", the method "select" uses row.value instead of the calculated finalValue: @setLabels(row.label, @options.formatter(row.value, row))
Any chance to get an option for that?
Below, a quick test. Please correct me if I'm mis-using it.
I just pushed a commit, now the value in the center would be the percentage of selected segment if the options showPercentage is set to true and dataLabels set to false.
Regarding the donut chart, I would like to see the percentage in the center.
It seems that the only way to display the percentage is to enable the property "dataLabels".
In "morris.donut.coffee", the method "select" uses row.value instead of the calculated finalValue:
@setLabels(row.label, @options.formatter(row.value, row))
Any chance to get an option for that?
Below, a quick test. Please correct me if I'm mis-using it.
Thanks for your great job by the way!
The text was updated successfully, but these errors were encountered: