Home forums Using CanvasJS Asking to get help for chart AxisX configuration to include 0

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28902

    Currently we could solve Y default value to 0 by using the following code:
    this.canvasChart.options.axisY.includeZero = s.includeZeroY;

    The request is to add the same functionality for X-axis ASAP.

    #28903
    #28921

    @mailtokosgmail-com,

    When the variation of y-values are too small, it’s difficult to visualize the variation of values. To overcome this, includeZero property can be used which sets axis range such that the difference becomes prominently visible.

    But over x-axis there is no such case of varying values, so there is no such property over x-axis. To make 0 value visible over x-axis you can set minimum to 0.

    Considering this thread as duplicate of include Zero axis X and hence closing the same.

    —-
    Manoj Mohan
    Team CanvasJS

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

You must be logged in to reply to this topic.