Home Forums Chart Support Irregular intervals

Irregular intervals

Viewing 3 posts - 1 through 3 (of 3 total)
  • #24144

    Hi,

    is there a way to print irregular intervals on axysY? for example, axys start on 0, next tick on 50, next 100 next 200 and then 400 without use customBreaks, because in this way, the space between ticks are the same:
    customBreaks: [{
    startValue: 0,
    endValue: 49,
    type: “line”
    },
    {
    startValue: 51,
    endValue: 99,
    type: “line”
    },
    {
    startValue: 101,
    endValue: 199,
    type: “line”
    },
    {
    startValue: 201,
    endValue: 399,
    type: “line”
    }
    ]}

    Thanks, best regards.

    #24153

    @meneillos,

    You can achieve the above requirement by using stripLines at desired points on the Axis Y as shown in this JSfiddle.

    ____
    Shashi Ranjan
    Team CanvasJS

    #24167

    Thanks, that is what i was looking for.

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

You must be logged in to reply to this topic.