marks positions located in wrong places.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
brian
Newbie
Newbie
Posts: 4
Joined: Tue Jun 20, 2006 12:00 am

marks positions located in wrong places.

Post by brian » Mon Apr 16, 2007 3:31 pm

Hi All,

I place the logic to locate the marks for series in the event BeforeDrawSeries. When we run program, at the beginning time marks just locate in default positions, not the right locations we want. Then we zoom the chart, marks positions locate in the right places. Could you give me any idea to get the right positions for marks when the program is loading ?

Thank you very much for your help.

Sincerely,
Brian

Edu
Advanced
Posts: 206
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Post by Edu » Tue Apr 17, 2007 7:58 am

Hi Brian

You can try using "AfterDraw" event. If the problem isn't solved, you can try using the Bitmap() method, for example, at the end of the "FormLoad" event.

Code: Select all

Bitmap bmp = tChart1.Bitmap;
This method forces the chart being repainted internally.
Best Regards,
Edu

Steema Support Central
http://support.steema.com/

Post Reply