Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comments
Comment #2
namwebs CreditAttribution: namwebs commentedI 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.