How to change the height and width of the chart in 100% of the code?

I am trying to dynamically change the height and width of a chart to 100% of the script action. "chart" is the identifier of the chart ... chart.height = 100% and chart.width = 100%. Is this possible? I did not find a suitable method for this.

+4
source share
1 answer

There are properties called percentWidth and percentHeight, set them to 100.

+5
source

All Articles