Home › forums › Chart Support › Chart overflow › Reply To: Chart overflow
CanvasJS Chart automatically sets the height and width of the chart according to container’s dimensions. If the values are not set for the chart-container, it takes the default values (500px X 400px).
Setting height to the chart-container should work fine in your case. If you are still facing any issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the code, understand the scenario better and help you out.