Inverting the Axis

Hi, is it possible to invert the the axis? Instead of 0 to 100, I’d like to display 100 to 0.

Thanks.

Hi @kingzy,

You can do this by setting options.scales.<axis>.ticks.reverse to true. Here’s an example.

Here’s the relevant documentation for Chart.js v3: link
And docs for v2: link

Hope this helps!

1 Like

Hello Ian, thank you very much!