As Riccardo mentioned, an external legend component for controlling more
than a single chart is currently not available.
However, you can try the following hack:
Create 3 Pie charts with legend: 'none' to make sure they all have the same
size and layout.
Create a ColumnChart and set its chartArea option to {top: 0, left: 0, width
: 0, height: <height>}.
This way the only thing shown out of the column chart is the legend.
For interactivity with the legend, you can listen on the legend entries
hover and click events and set the selection of the other charts accordingly
(right now you cannot set the hover effect though).
Hope this helps,
visigoth
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/9vFl9ND-7EgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.