KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using Highcharts graph to display a pie chart. I want to change the tooltip to display the actual data field along with the series name in place of the percentage value. Here is the sample at jsFiddle If you check the above sample you will find 2 things Tooltip is : pointFormat: '{series.name}: {point.percentage}% ' i.e. Browser share: some-percentage-value I want to show: Browser share: 40 (data value instead of percentage) 2. Next is the the display text for each section in the pie. One can see n number of decimals making the graph look very ugly. I want to show numbers only upto 2 decimal points like percentageDecimals: 1 used in tooltip. I tried few things for 1st like series.data which returns an array of objects. Also series.data[0]. But no success so far How can I do both these things?
Tags (comma-separated)
Save Edits
Cancel