TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
Luke
- Newbie

- Posts: 68
- Joined: Thu Oct 11, 2007 12:00 am
Post
by Luke » Thu Jun 04, 2009 7:50 am
cl = new ColorLine(tChart.Chart);
cl.Axis = tChart.Axes.Left;
cl.Value = 0;
cl.AllowDrag = false;
If I add a ColorLine this way to chart to crete custm axis, how do I remove it?
Is there also any way to restore a tchart to say a default state. If you use 1 chart to display varying contents. you have toreset many properties constantly. and there is a allot of properties

-
Yeray
- Site Admin

- Posts: 9645
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Thu Jun 04, 2009 11:34 am
Hi Luke,
To delete the components in VS you could do as follows:
And to create a backup of the chart you could use a tee file but note that the events won't be stored so you should reassign them manually.