Custom Axis Scale in Chart.js

133 Views Asked by At

Is there a way to use a function (probably needing a forward and reverse transform) to create a custom axis scale in Chart.js? I'm looking for something similar to what is possible in matplotlib. I know it is possible to do a logarithmic scaled axis is Chart.js, but what about a Weibull Scaled Axis or a Normal Scaled Axis? Weibull Probability Plot

1

There are 1 best solutions below

0
Eric Last On

Take a look at https://www.chartjs.org/docs/latest/developers/axes.html. This is the official docs for creating a new axis/scale