ChartController edit items

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
acastro
Advanced
Posts: 204
Joined: Tue Oct 27, 2009 12:00 am

ChartController edit items

Post by acastro » Mon Apr 14, 2014 11:38 am

I remove some items from chartController and I see deleted in the desing view, but when I run the application the deleted items are there. If I close the design view and open it again the deleted items are there also. Why does it happen?

Thanks

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: ChartController edit items

Post by Christopher » Tue Apr 15, 2014 8:28 am

wakeup wrote:I remove some items from chartController and I see deleted in the desing view, but when I run the application the deleted items are there. If I close the design view and open it again the deleted items are there also. Why does it happen?
You can add and remove items from the chartController at runtime with code such as:

Code: Select all

((ToolStrip)chartController1).Items.Clear();
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply