Has anyone found a way to be able to format the number shown when you hover over a pie slice? I need to be able to add a prefix and ideally format the number in a currency format. See attached picture. If I try to do this on the number field it means the chart will not show. It says in the Tips "It's important that the module is supplied with numeric values, this means you need to select unformatted fields in Views" but it would be good to be able to format these for display.

Thanks.

CommentFileSizeAuthor
pie.jpg13.2 KBnamwebs
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

namwebs created an issue.

namwebs’s picture

I found a workaround using comment #1 in https://www.drupal.org/node/2404575. Using the code in views_dataviz_plugin_style_dataviz-hackv2.jpg I formatted the tooltip to show the percentages and not the (incorrectly formatted) values. This was adequate for my needs.