Page 1 of 1

IStartPos of Custom Axis

Posted: Sat Feb 09, 2008 9:08 am
by 13047534
Hi

I made 3 axis on a chart and each axis has its own graph. I want to put a text on each graph's left top corner. I use Annotation Tools to draw the text. But the problem is, the value of IStartPos remains 0 for all customs axis, so how could I make out where the graph's left top corner is ? values for startPosition and Endposition are correct, but i cannt not use that becos these values are not in pixels. What is wrong, i m not getting.

Thanks

Posted: Tue Feb 12, 2008 9:30 am
by narcis
Hi hjn,

It is most likely that you need to force the chart being internally painted to have valid values for such properties. For that you need to use Bitmap method. I did an example of what you are asking for here.

Posted: Tue Feb 12, 2008 9:48 am
by 13047534
Hi

Thanks for reply..I got the solution, in chart afterdraw event I am getting the correct values of IstartPos and IEndPos.
One more question, if I add more points (in my case 3500), chart takes significantly much time to load. How can i improve it. I am adding 3 series at a time on different vert axes.

Thanks

Posted: Tue Feb 12, 2008 9:58 am
by narcis
Hi hjn,

I suggest you to read the Real-Time Charting here and also look at the examples at All Features\Welcome!\Speed in the features demo, available at TeeChart's program group.