Home › forums › Using CanvasJS › how to set chat areas width 100% to div ? › Reply To: how to set chat areas width 100% to div ?
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.