Home forums Using CanvasJS Extending splinearea to margins

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 8 months, 3 weeks ago.

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


    Hello. Is there a way to extend the area graph to fill the left/right margins in a splinearea chart? The issue I’m having (besides wanting to remove the whitespace in general) is I’m using a stripline in the chart which does extend to the end of the margin, and it’s making the chart not look right.


    Thanks in advance.


    Vishwas R


    You can set axisX minimum and maximum to the first and last dataPoint value respectively. Please take a look at this updated jsfiddle.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.