Hello,
It appears that you are no longer copying Marks.Style in TChartSeries.Assign. I am not using your latest version of TeeChart Pro, but the one prior to that. So perhaps you have already fixed it in your latest release, but if not, could that be added back in?
Thanks!
SND
TChartSeries.Assign
Re: TChartSeries.Assign
Hello SND,
I couldn't reproduce the problem you are experiencing using latest release of Teechart VCL/FMX 2014 build number 2014.11.140512 and next code:
Therefore, I recommend you update your Teechart Pro VCL/FMX and check the problem is fixed. You can check our trial version previously. You can download it from here.
Also there is an alternative that can be useful for you. It consists in use the CloneChartSeries function instead of Assign property. The below code shows as you do it:
Hoping it will helps, otherwise don't hesitate to contact us.
Thanks in advance,
I couldn't reproduce the problem you are experiencing using latest release of Teechart VCL/FMX 2014 build number 2014.11.140512 and next code:
Code: Select all
uses VCLTee.Series;
var Series1:TLineSeries;
var series2:TLineSeries;
procedure TForm2.FormCreate(Sender: TObject);
begin
Series1 := TLineSeries.Create(self);
Series2 := TLineSeries.Create(self);
Chart1.AddSeries(Series1);
Chart1.AddSeries(Series2);
Chart1.Align:=alClient;
Series1.FillSampleValues(10);
Series1.Marks.Visible:=true;
Series1.Marks.Style := smsPercent;
Series2.Assign(Series1);
end;
Also there is an alternative that can be useful for you. It consists in use the CloneChartSeries function instead of Assign property. The below code shows as you do it:
Code: Select all
uses VCLTee.Series;
var Series1:TLineSeries;
procedure TForm2.FormCreate(Sender: TObject);
begin
Series1 := TLineSeries.Create(self);
Chart1.AddSeries(Series1);
Chart1.Align:=alClient;
Series1.FillSampleValues(10);
Series1.Marks.Visible:=true;
Series1.Marks.Style := smsPercent;
CloneChartSeries(Series1)
end;
Thanks in advance,
Best Regards,
Sandra Pazos / 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 |