Home › forums › Chart Support › Need help of how to format numbers (bits) pc-units please
Tagged: format xAxis yAxis
Need help of how to format numbers (bits) pc-units please
my values that i want to convert/format are like 20311514949b, 1544949464b
i want my final result in yAxis and tooltip something like this 20Mbps 30Mbps
You can achieve this by formatting the label displayed over axisY and content in toolTip according to your requirements with the help of labelFormatter and contentFormatter respectively, please refer documentation for more customization options. Please take a look at this JSFiddle.
Thank you very much for the reply, works well :)
You must be logged in to reply to this topic.