Home › forums › Using CanvasJS › how to set chat areas width 100% to div ?
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 8 months, 1 week ago.
I want to set my chat areas width 100% of the its parent div , how do i achieve this ?
Charts take chart-container’s width by default. If the width is not set for the chart container, it defaults to 500.
If you mean removing the extra space between the axisY and the dataPoints towards left and right side of the plotArea, you can achieve that by setting minimum and maximum. Please take a look at this jsfiddle.
You must be logged in to reply to this topic.