marks and colorlines outside chartbouds

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 and colorlines outside chartbouds

Post by brian » Wed Apr 04, 2007 9:12 pm

Hi All,

I use 2 colorlines: vertical and horizontal ones at value = 0 in a chart, and also turn on marks for series. But when I move the chart (use right button on mouse), when those colorlines or marks pass the chart bounds, they still appear. How can we prevent this situation from happenning ?

Thank you very much for your supports.

Sincerely,
Brian

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

Post by Edu » Thu Apr 05, 2007 10:32 am

Hi brian

You have to put the "NoLimitDrag" property of ColorLines to false, and "Clip" property of Marks to true, and then the ColorLines and Marks will be hides.

Code: Select all

line1.Marks.Clip = true;
colorLine1.NoLimitDrag = false;
Best Regards,
Edu

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

Post Reply