Home Forums Chart Support Chart – Minimum and Maximum value with Intervals

Chart – Minimum and Maximum value with Intervals

Viewing 4 posts - 1 through 4 (of 4 total)
  • #39338

    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/

    #39345

    @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

    #39351

    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?

    #39375

    @elanchezhiyan,

    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");


    Thangaraj Raman
    Team CanvasJS

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

You must be logged in to reply to this topic.