chart JS

  • miles1991-1328763970089255005

    Miles

    4 months ago

    Hi 👋

    I'm working with the chart.JS package and running into an issue.

    The lowest value in the data set is pltted at the centre of the chart. it looks like the value is 0 (but it's not).

    I see on the chart.js website they don't have this issue in their examples of radar charts and other types.

    Is there a way to solve this with the chart.js package?

    TIA
    1328763970483654726-image.png
  • miles1991-1328773392098267156

    Miles

    4 months ago

    I assume there is some way to set the center of this chart to 0, so the other values show away from the center.
  • miles1991-1329013917946744904

    Miles

    4 months ago

    @lululucaschae
  • lucasg-1329108869212799028

    Lucas G

    4 months ago

    You can use the scale config to adjust it
  • lucasg-1329109188680351864

    Lucas G

    4 months ago

    Either by adjusting its starting value or step size or even setting fixed min/max values
  • miles1991-1329432712876134440

    Miles

    4 months ago

    how do I set that in the chartJS package? I can't see any options for it
    1329432712678740088-image.png
  • lucasg-1329458204177993772

    Lucas G

    4 months ago

    Ah no you set that in the code