Home Forums Chart Support Y axis different interval and different ranges

Y axis different interval and different ranges

Viewing 5 posts - 1 through 5 (of 5 total)
  • #43361

    Hi
    Can I have my chart to have different y axis interval for example
    10-20, 31-50, 71-75, 90 and above
    Range can be anything and should be highly customizable
    Please give me a fiddle for this

    #43363

    For the above example I should only see 4 rows on the chart.
    90 and above
    71-75
    31-50
    10-20

    #43371

    @mridula,

    Can you kindly share an example or a pictorial representation of your requirements, so that we can understand it better and help you out?

    __
    Sachin Bisht
    Team CanvasJS

    #43376

    https://drive.google.com/file/d/19UydTKdXd076vbhx1-brD96j23GNbHsu/view?usp=sharing
    Hi,
    please refer the above link for the image.
    There are only 5 rows and each rows has a range and interval between the ranges are not the same. 10-30, 40-50,70-75. Each has a difference of 20,10,5. Also the next row doesn’t start with the previous rows range end value. For ex, 2nd row doesn’t start with 31 rather 40. So it should be highly customizable. No fixed intervals. They are non-linear

    #43409

    @mridula,

    Non-linear interval is not possible as of now. To meet your requirements you can use scalebreaks to collapse the region that you doesn’t like to show and you can use striplines to add gridlines & corresponding labels.

    Please take a look at this JSFiddle for an working example.
    __
    Sachin Bisht
    Team CanvasJS

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

You must be logged in to reply to this topic.