21
Views
7
Comments
Solved
Add a suffix to the tooltip of a Donut Chart v2

Hi guys, does anybody know how can I add a suffix to the tooltip of a Donut Chart (Version 2)?

Solution

Hi you can pass value like this.

sample.oml

Note that I want to add a suffix to the value, what you are doing is add a suffix to the label.
Like instead of "32", i want to appear "32%".

Hi Alexandre,

Expand the AdvancedFormat of the donut chart
and copy paste the following json in the Highcharts JSON.

"tooltip: { valueSuffix: 'Whatever you want in tooltip' }"

With the help of this json, you can change your value suffix to any value. 

Hope it helps.

Regards,
Adam Gangrekar.

Hi @Adam Gangrekar, that works but only in the version 1 of the graph. In version 2, we don't have the possibility to do that.

But thanks anyway!

Hi  you can add tooltip suffix into datapoint list.

you can create variable with datapoint list data type add assign while initialize.


Regards 

Apoorv Choubey

Hi @Apoorv Choubey, im passing the value that I want to the input of the tooltip, but isn't appear on the screen.

Can you show me a example?

Thanks!

Solution

Hi you can pass value like this.

sample.oml

Note that I want to add a suffix to the value, what you are doing is add a suffix to the label.
Like instead of "32", i want to appear "32%".

Hi @Alexandre Rocha please see attached oml and screenshot if you able to solve your issue with this please let me know or you can share you oml with us thankyou.

Live sample on this Link


Regards

Apoorv Choubey

DonutChart.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.