nectum
Posts: 26
Joined: Wed Jul 24, 2019 8:38 pm

how to round to same decimals?

how to round to same decimals?
Attachments
Capturagrafica.PNG
Capturagrafica.PNG (35.51 KiB) Viewed 332 times
jedrzej.r
Posts: 725
Joined: Tue Jan 24, 2023 11:21 am

Re: how to round to same decimals?

Hi,

Thanks for contacting us with your question!

You can achieve this by setting tooltip.valueDecimals to fixed number, this way it will only display decimals up to a certain number.

Demo: https://jsfiddle.net/BlackLabel/r9mxj7p2/

API: https://api.highcharts.com/highstock/to ... ueDecimals

Let me know if this is what you were looking for.
Best regards!
Jędrzej Ruta
Highcharts Developer

Return to “Highcharts Stock”