Invert Y axis in Highcharts

Is it possible to invert the Y axis in a Highcharts chart? For example, if an axis typically runs from 0 at the bottom of the axis to 100 at the top, it should be shown starting at 100 at the bottom and 0 at the top. This is useful, for example, when using a chart with two Y axes, and you want to see the correlation between two rows with an inverse relationship.

Note that I'm not talking here about inverted in Highcharts, which simply flips the position of the X and Y axes,

+4
source share
2 answers

Have you already considered the option reversed on the y axis and from api?

This is similar to what you are looking for, but aside, you can reconsider the two-scaled axes .

+9
source

use reverseed: true,

yAxis: { reversed: true, showFirstLabel: false, showLastLabel: true }, 
0
source

Source: https://habr.com/ru/post/1385232/


All Articles