I'm using highcharts. When I get small numbers in my series the y-axis starts using floating numbers. How can I force it to only use whole numbers regardless of my data?
Note: I do have a minimum set to "4", so even when there is one result to y-axis range will be 0-4.
Method 1: Change Axis Scales in Base R To change the axis scales on a plot in base R Language, we can use the xlim() and ylim() functions. The xlim() and ylim() functions are convenience functions that set the limit of the x-axis and y-axis respectively.
Set allowDecimals: false
, see API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With