How to manipulate the value in tooltip to get values in 2 decimal values after point in gwt highcharts java. I have some value on tooltip which look like: k_g1: 145,2568962789 and I want to format it to get only 2 numbers after comma, like k_g1:145,25.
You can customize the tooltip behavior by setting the desired values in the tooltip
object.
In your case valueDecimals
property of tooltip is of your concern. See the api docs for the same.
tooltip: {
valueDecimals: 2
},
Check out: jsFiddle