Home Forums Chart Support Modify Y axis of Step Graph to be categorical labels

Modify Y axis of Step Graph to be categorical labels

Viewing 2 posts - 1 through 2 (of 2 total)
  • #31920

    I have a step graph that shows categorical data over time. For example, if you were to categorize items in our solar system as planet, non planet, or undiscovered… You would see a line over time of Pluto being undiscovered, it then bumps up to non-planet, then bumps up again to planet, then back down to non-planet. X-axis would be a series of dates. This is just an easily understandable example, I am not actually making a graph of planets.

    How do I modify the labels of the Y-Axis in a step graph to be categorical?

    Pluto GraphIf image doesnt work, use this link

    • This topic was modified 3 years, 5 months ago by wphilips. Reason: Example image wasnt showing up
    #31928

    @wphilips,

    Labels over axis y are not possible as of now. However, you can achieve it using labelFormatter as shown in this JSFiddle.

    —-
    Manoj Mohan
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.