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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Cook created an issue. See original summary.

John Cook’s picture

I created a patch that limits the number of series when a pie chart is used.

A switch statement was used so it would be easier to limit other graph types if necessary.

After applying the patch, the graph displays properly:

John Cook’s picture

Status: Active » Needs review
andileco’s picture

Status: Needs review » Fixed

Thanks for the catch. This helped me realize that "Donut" wasn't being included on that default settings configuration page.

  • andileco committed 4f9a33e on 8.x-3.x
    Issue #2944095 by John Cook: The Pie chart example does not work with...
andileco’s picture

Status: Fixed » Closed (fixed)