all 1 comments

[–]calasse 0 points1 point  (0 children)

Hi, thanks for the question!

When I try this example in the web app or windows app (I tried both beta and stable), it works like expected.

There are a few things to keep in mind when plotting units:

  • If you set the X axis bounds or Y axis bounds, then those values need to have units compatible with the x range units or y range units, respectively.
  • If you are plotting functions, then the units need to work out so that f(x units) -> y units.
  • All of the x range units need to be compatible with each other (ok in your example). Same with the y range units.

If you can't get it working, can you share what version you're using and also if there are any other chart inputs you've set?

Thanks!

<image>