Resize Chart
Posted: Thu May 06, 2004 7:29 pm
Is there a way to autoresize a chart based on the client's screen resolution? I have tried setting the chart width and height property, but it seems to ignore those commands unless I need to put those in a certain subroutine or function to get them to work. I am using TeeChart for .Net version 1.0.1189.31308. Below is code where I define chart in webform which is based on 800x600 resolution. I would like to add code to change the chart width in particular to match the size of the client's screen if at all possible without hardcoding. Is this possible?
<TCHART:WEBCHART id="WebChart1" runat="server" Width="760" Height="500px" TempChart="File" AutoPostback="False"></TCHART:WEBCHART>
Thanks,
Scott
<TCHART:WEBCHART id="WebChart1" runat="server" Width="760" Height="500px" TempChart="File" AutoPostback="False"></TCHART:WEBCHART>
Thanks,
Scott