Home › forums › Using CanvasJS › Need to stretch the plotarea to full screen
Tagged: fullscreen, stackedarea chart
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 2 years, 9 months ago.
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?
Sorry this feature is not available as of now. But with few lines of jQuery code you can achieve this. Please check this jsfiddle.
You must be logged in to reply to this topic.