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

Y axis ticks Auto display units

Tue Nov 13, 2018 10:36 am

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: 695
Joined: Thu Jun 14, 2018 11:40 am

Re: Y axis ticks Auto display units

Tue Nov 13, 2018 5:24 pm

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 Developer

Return to “Highcharts Cloud”