Dynamically change chart size ??

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Nov 26, 2003 12:06 pm

To resize the WebChart you should use something like :

WebChart1.Width = Unit.Pixel(700);
WebChart1.Height = Unit.Pixel(700);

Josep Lluis Jorge
http://support.steema.com

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Mon Jan 12, 2004 6:11 pm

Hello,

This post is a little old now but worth saying I think that the following should be considered as an option if only the exported image size is to be modified.

Code: Select all

tChart1.Export.Image.GIF.Width=xxx;
tChart1.Export.Image.GIF.Height=xxx;
tChart1.Export.Image.GIF.Save(@"c:\myImages\GIFChart.gif");
Regards,
Marc Meumann
Steema Support

Post Reply