When passing values to a Highcharts pie chart, the code may look like this:
series:[
{
type:'pie',
name:'Ratio',
data:[
['A', 42.6],
{
name:'B',
y:14.2,
sliced:true,
selected:true
}
]
}
]
However, when displayed on the pie chart, it might show as follows:
A -> 75.00000000000001 %
B-> 25 %
While tooltips can be formatted in Highcharts, what about formatting the actual chart values?