Home › forums › Using CanvasJS › Set axisY maximum to x above the calculated maximum
Tagged: axisY maximum
This topic contains 3 replies, has 2 voices, and was last updated by Priyanka M S 1 year ago.
In my bar chart I don’t want to define a maximum for axisY because the data is dynamic and could exceed the maximum; however, with the maximum auto-calculated and my index labels placed “outside”, there is not enough room given for the label of the greatest value. Therefore, I would like to set the maximum as the calculated value plus x, x being a parameter I experiment with to find the one that looks best. Is this possible?
We are looking into it and will get back to you at the earliest.
Priyanka M S
While I still think this would be a nice feature, I did realize that since my data is dynamic I can write code to set the maximum dynamically :) That’s working for me. Thanks!
Glad that you figured it out :)
You must be logged in to reply to this topic.