Home forums Chart Support Dynamic maximum for axisY

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28050

    Without setting axisY maximum, my chart looks like this:

    I don’t like the unnecessary white space between 100 and 150. But my chart values are dynamic based on user selection, so if maximum is set to 100 and the user only selects the first column, it looks like this:

    Is there a way to set maximum to 100, ONLY if the values reach 100?

    #28100

    @jd26,

    axisY maximum value is auto-calculated based on the range of dataPoints present in the viewport. But when you try to set the axisY maximum/minimum value manually, the value gets fixed irrespective of any range of dataPoints present in the viewport.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.