Home forums Using CanvasJS Extending splinearea to margins

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 weeks, 6 days ago.

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

    austenbass
    Member

    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.

    jsfiddle

    Thanks in advance.

    #20543

    Vishwas R
    Keymaster

    @austenbass,

    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.