Sign in to follow this  

How can I overwrite limits on the Y axis?

Recommended Posts

I have the following question:




We are capturing free mem for some server. Sometimes (weekends) the values are too high. However, during the week the values are low.




We need to have the values in our weekly chart but the high values are making the low values almost invisible in the chart.




Is there a way that I can set a default maximum value for the Y axis. I tried to use a lower value. However, FC always reset the scale to the maximum value.




Thank you,

Share this post

Link to post
Share on other sites





Welcome to the forum! :)




You can specify a maximum value by using the attribute yAxisMaxValue='number' attribute in the chart element.




However, whenever in the actual dataset there is a value that is higher than the preset YAxisMaxValue, the max value will be over-ridden.




So the only way to not let that happen is to somehow programmatically check for sudden spikes that fall out of the range.




Do let us know how you implement this or if you need further help anywhere. :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this