V6 Series Type
V6 Series Type
How can I change the series from a TLineSeries to a Horizontal Line Series at runtime. I am using Version 6.
Re: V6 Series Type
Hi Roy,
I think that this should work:
I think that this should work:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var series1: TChartSeries;
begin
series1 := TLineSeries.Create(self);
Chart1.AddSeries(series1);
series1.FillSampleValues(25);
ChangeSeriesType(series1, THorizLineSeries);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |