Hi,
It seems the 'tooltip.text' option can't be used, even by hacking the 'views_dataviz_plugin_style_dataviz' file.
Google Api says about this option:
What information to display when the user hovers over a pie slice. The following values are supported:
'both' - [Default] Display both the absolute value of the slice and the percentage of the whole.
'value' - Display only the absolute value of the slice.
'percentage' - Display only the percentage of the whole represented by the slice.
That would allow me to avoid duplicates as the slice value are already percentages as seen in attached screenshot.
Thanks
Comment | File | Size | Author |
---|---|---|---|
#1 | views_dataviz_plugin_style_dataviz-hackv2.jpg | 54.34 KB | PhilY |
duplicates-in-tootip.jpg | 10.01 KB | PhilY | |
views_dataviz_plugin_style_dataviz-hack.jpg | 50.85 KB | PhilY |
Comments
Comment #1
PhilYFound it, I messed up the syntax.
See attached 'views_dataviz_plugin_style_dataviz-hackv2.jpg' for correct tooltip syntax.
Comment #2
namwebs CreditAttribution: namwebs commentedThanks @PhilY, the info in #1 helped me with this issue https://www.drupal.org/node/2617846.