Home forums Using CanvasJS Space between first datapoint and Y axis

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
  • #22341

    Hi,

    We have a line graph and we could find Space between first datapoint and Y axis.
    Please help us.

    Regards,
    Manoj

    #22343

    Priyanka M S
    Member

    Manoj,

    The spacing on the left and right of the chart is based on the axis minimum and maximum values.
    Axis minimum and maximum depends on the first data point value, the last data point value and the interval. Hence, spacing to the left and right of the chart will be calculated based on the axis minimum, maximum and interval.
    However, by setting appropriate minimum and maximum values, you can reduce the spacing.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.