Ideas and wishes for TeeChart
-
Jenn
- Newbie

- Posts: 19
- Joined: Fri Jul 08, 2005 4:00 am
- Location: Logan, Utah United States
Post
by Jenn » Thu Nov 02, 2006 11:07 pm
Hello,
There are events for OnSeriesBeforeAdd and OnSeriesAfterAdd. Could we do the same for when the user removes a series.
For example, if the user deletes a series via the TeeListBox, there's more cleanup that needs to be done in my code. It would be nice if we received an event for when this happens, either in the TeeListBox or in the TChart.
Thanks a lot!
Jennifer Britt
-
Narcís
- Site Admin

- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Fri Nov 03, 2006 8:47 am
Hi Jennifer,
I've added your request to our wish-list to be considered for inclusion for future releases.
-
Jenn
- Newbie

- Posts: 19
- Joined: Fri Jul 08, 2005 4:00 am
- Location: Logan, Utah United States
Post
by Jenn » Tue Nov 07, 2006 6:31 pm
Thank you!
-
David Berneda
- Site Admin

- Posts: 83
- Joined: Wed Nov 12, 2003 5:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by David Berneda » Tue Nov 14, 2006 4:32 pm
These new events have been added in v8 beta.
Code: Select all
Chart1.OnAddSeries(Sender:TCustomChartSeries);
Chart1.OnRemoveSeries(Sender:TCustomChartSeries);
They are called just after a series has been added to a Chart, and just after it has been removed.
Note: Adding or removing a series to a chart happens when the series ParentChart property is set.
When a Series is destroyed (ie: by calling Series1.Free), it is previously removed from a chart by setting its ParentChart property to nil.