Amruta
Posts: 1
Joined: Tue Nov 13, 2018 9:14 am

Y axis ticks Auto display units

Consider a column chart is plotted where Auto display unit is applied to the Yaxis tick labels depending on the data.
Refer following JS fiddle where Auto display unit applied as "G"
https://jsfiddle.net/amrutaJgtp/7arq3t5f/3

Now, change the type of Yaxis as "logarithmic".
It is observed that mixed display units are applied as "G" and "M"
https://jsfiddle.net/amrutaJgtp/7arq3t5f/2
Why is it so incase of logarithmic scale only?

I wanted to verify if this is the behavior from Highcharts.
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: Y axis ticks Auto display units

Hi, Amruta!

This is intended behavior from Highcharts - works fine and as expected ;)
Logarithmic yAxis changes a range of displayed values in the logarithmic sense so they are closer to each other. In this case, yAxis extremes have been changed so yAxis minimum is showed in millions (symbol M) and yAxis maximum in billions (symbol G).

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Cloud”