You must be logged in to post your query.
Home › Forums › Chart Support › Chart – Minimum and Maximum value with Intervals
Tagged: Chart axis
Hi Team, We have a chart similar to the jsfiddle link. When we apply minimum value and maximum value with auto interval, we are not getting the exact minimum/maximum value. Even if we set interval also, we face the same. Please check and let us know the solutions.
JsFiddle Link: https://jsfiddle.net/ElanchezhiyanP/Lckm4hbp/3/
@elanchezhiyan,
In the JSFiddle that you have shared, you are not setting the X-axis minimum or maximum. Setting the minimum and maximum value for X-axis seems to be working fine for both date-time and numerical values.
If you are still facing issues, kindly update the JSFiddle with your use case and share it with us so that we can look into the code / chart-options being used, understand the scenario better and help you out.
— Thangaraj Raman Team CanvasJS
Hi Thangaraj Raman, We have checked the X-axis minimum or maximum. But, still we are facing the same issue. Can you please send us a JSFiddle example to check the exact minimum or maximum value?
To check the minimum or maximum value of the chart’s X-axis, you can use the axis get method. Please take a look at the code-snippet given below.
chart.axisX[0].get("minimum"); chart.axisX[0].get("maximum");
You must be logged in to reply to this topic. Login/Register