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
ColorLine Removal
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.
To delete the components in VS you could do as follows:
Code: Select all
cl.Dispose();
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |