I have created a new series in run time using chart gallery.
I want to know the series type i.e Line/bar/point series/... that I have created using gallery to save the type and create the same type of series later.
what property should I use?
what is the property to know series type?
Hi.
Perhaps you could use TChartSeries.ClassName property. Something like this:
Or you can also use ClassType property (depending what exactly you want to do with retrieved information.
Perhaps you could use TChartSeries.ClassName property. Something like this:
Code: Select all
Chart1.FreeAllSeries();
Chart1.AddSeries(TBarSeries);
// returns TBarSeries
ShowMessage(Chart1.Series[0].ClassName);
Marjan Slatinek,
http://www.steema.com
http://www.steema.com