When viewing the pie chart example using the Highcharts library, the chart is broken.

This appears to be that the library does not like to have multiple series when displaying a pie chart.
To resolve this, the number of series in the example should be limited.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screen Shot 2018-02-12 at 11.10.40.png | 46.87 KB | john cook |
| #2 | 2944095-highcharts_piechart_example-2.patch | 1.6 KB | john cook |
| Screen Shot 2018-02-12 at 11.06.00.png | 27.61 KB | john cook |
Comments
Comment #2
john cook commentedI created a patch that limits the number of series when a pie chart is used.
A
switchstatement was used so it would be easier to limit other graph types if necessary.After applying the patch, the graph displays properly:

Comment #3
john cook commentedComment #4
andileco commentedThanks for the catch. This helped me realize that "Donut" wasn't being included on that default settings configuration page.
Comment #6
andileco commented