Charts.js X Axis Labels

I have an API returning an array of numerical values that I want to display in Charts.js and I need to name the x axis values. The Y axis contains the values I’m returning and the x axis needs to be the items number within the list (first starting at 0, and going up by 1 until the return values in the array end.)

I can’t figure out how to label the x axis.

Here’s a screenshot of what I have now.
image

Maybe @Thimo might help here :smiley:

This topic was automatically closed after 69 days. New replies are no longer allowed.