Hi,
I'm trying to use TChart.Draw() with TeeChart.Pocket with I think the latest version of TeeChart .NET 2009, but seem to only be able to use the Draw(graphics) overload. The reason I wish to use Draw(void) is that I want to avoid drawing the chart to screen twice each time I update it. I am using parameters like Chart.Height, Chart.Width, Axis.StartPos, Axis.EndPos to perform 3D isotropic scaling, which works fine except for the double redraw.
I understand that Draw() will internally draw the chart thereby initialising all of these variables, but it does not appear to be accessible. Is there a way to use Draw(void), or another way of doing this?
As a related question, can you define for me what IStartPos and IEndPos actually are? They aren't documented in the help file and I've kind of had to guess what they do to get the isotropic algorithm to work just right.
Thanks,
Michael L
Using TChart.Draw() with teechart.pocket
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Using TChart.Draw() with teechart.pocket
Hi Michael,
Try using Bitmap method instead:I understand that Draw() will internally draw the chart thereby initialising all of these variables, but it does not appear to be accessible. Is there a way to use Draw(void), or another way of doing this?
Code: Select all
Bitmap bmp = tChart1.Bitmap;
Yes, Yeray described those properties here.As a related question, can you define for me what IStartPos and IEndPos actually are? They aren't documented in the help file and I've kind of had to guess what they do to get the isotropic algorithm to work just right.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |