However, to then automatically hide the graphics of the second pie chart when a legend item of the first pie chart is clicked, you'd need to resort to native DOM manipulation as that jsfiddle chart is showing (at least until the core Highcharts API adds support for this). So, in GWT you could add methods like the following to the GWT Highcharts "Point" class:
That change will be formally included in the 1.3.1 release, which I'm guessing will be released sometime later this month. If you need this function ahead of time though, all you'd need to do is replace the "Point.java" file in the jar file with the attached version.
Also, in case it's useful to others, the following is an updated version of the "dual pie charts" example that would utilize this new "Point.getNativePoint()" method:
You can certainly add two pie charts that only have one legend rendered like so:
However, to then automatically hide the graphics of the second pie chart when a legend item of the first pie chart is clicked, you'd need to resort to native DOM manipulation as that jsfiddle chart is showing (at least until the core Highcharts API adds support for this). So, in GWT you could add methods like the following to the GWT Highcharts "Point" class:
And then you could utilize those new methods by adding an event handler to your chart like so:
Interesting use case! Hope that helps.
That change will be formally included in the 1.3.1 release, which I'm guessing will be released sometime later this month. If you need this function ahead of time though, all you'd need to do is replace the "Point.java" file in the jar file with the attached version.
Also, in case it's useful to others, the following is an updated version of the "dual pie charts" example that would utilize this new "Point.getNativePoint()" method: