Hello
I want to be able to resize a chart to fit the available screen size/resolution so that the users don't have to scroll the screen to see the chart.
I can determine the screen size with the following javascript code:
var aw=screen.availWidth;
var ah=screen.availHeight;
Now I need to know how (using Javascript) can I use that to then change the Width and Height of the rendered chart. For example in pseudo-code:
If aw=1680 Chart.Width=900
if aw=1024 Chart.Width=700
Regards
James