narcis wrote:Hi Normand,
Did you test the .exe I posted?
Swaping values and series in bar-chart
-
- Newbie
- Posts: 30
- Joined: Tue Dec 28, 2004 5:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Normand,
This may be a problem we have found on some ocasions. You could try changing the following line:
for this one:
This may be a problem we have found on some ocasions. You could try changing the following line:
Code: Select all
for I := 1 to NbOldSeries do BarChart.RemoveSeries(BarChart.Series[0]);
Code: Select all
for I := 1 to NbOldSeries do BarChart.Series[0].Free;
Best Regards,
Narcís Calvet / 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 |
-
- Newbie
- Posts: 30
- Joined: Tue Dec 28, 2004 5:00 am
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Normand,
I wouldn't take that as a habbit as it doesn't happen on all ocasions. However, I'm glad to hear we finally found a solution for your problem.
I wouldn't take that as a habbit as it doesn't happen on all ocasions. However, I'm glad to hear we finally found a solution for your problem.
Best Regards,
Narcís Calvet / 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 |
-
- Newbie
- Posts: 30
- Joined: Tue Dec 28, 2004 5:00 am
- Contact:
I thought the two were functionnally equivalent, but you seems to suggest that they are not. Can you tell me the differences. Will using the .free method causes some memory leaks or some settings not to be set properly?
narcis wrote:Hi Normand,
I wouldn't take that as a habbit as it doesn't happen on all ocasions. However, I'm glad to hear we finally found a solution for your problem.
Hi Normand,
The RemoveSeries method deletes (but not destroys) the specified ASeries parameter from the Chart list of series.
Calling this method is exactly the same as doing:
ASeries.ParentChart := nil ;
The Free method frees the Serie of Class SeriesClass.
The RemoveSeries method deletes (but not destroys) the specified ASeries parameter from the Chart list of series.
Calling this method is exactly the same as doing:
ASeries.ParentChart := nil ;
The Free method frees the Serie of Class SeriesClass.
Pep Jorge
http://support.steema.com
http://support.steema.com