Home › forums › Using CanvasJS › Extending splinearea to margins
Tagged: splinearea margin whitespace
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 2 months, 2 weeks ago.
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.
You can set axisX minimum and maximum to the first and last dataPoint value respectively. Please take a look at this updated jsfiddle.
You must be logged in to reply to this topic.