Using TChart.Draw() with teechart.pocket
Posted: Fri Mar 19, 2010 1:42 am
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
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