Home forums Using CanvasJS Need to stretch the plotarea to full screen

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 years, 4 months ago.

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


    I have used the canvasjs to draw a 100% stacked area chart.
    However when I resize the chart, it shows up blank areas on the non-axes sides.
    I managed to pull the chart to left and bottom upto the edge i.e the margin, but the other two sides tend to show whitespace when resizing.

    Is there a feature setting I can make use of to get rid of teh spacing and get it to render full screen or fill whole area?



    Vishwas R


    Sorry this feature is not available as of now. But with few lines of jQuery code you can achieve this. Please check this jsfiddle.

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

You must be logged in to reply to this topic.