Home forums Using CanvasJS Zero values on the AxisY creates undesirable visualization

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22275

    varvara1986
    Member

    When we have all values “0” on AxisY , then the line on AxisX is half cut.
    How to move Axis X and Y from the content graph?

    #22283

    Priyanka M S
    Member

    @varvara1986,

    You can set the minimum and maximum values to axisY(as shown below) so that the entire line along the axisX is visible when all your y values are zero.

          axisY:{
            minimum: -1,
            maximum: 1
          }

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.