Painting Problem?
Painting Problem?
Why is series 3 painting in series 2 in the second part of the graph, while it is painting on the top in the first part of the graph? Shouldn't it be the top series for the whole graph.
- Attachments
-
- test.zip
- (3.27 KiB) Downloaded 540 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Painting Problem?
Hi Blair,
The problem is Series3 has less points than Series1 and Series2. It should have the same number of points and same X values for stacking to work fine with all series. Series3 has a gap between 1st December 2013 until 15th December 2013. Adding data (zero values) for Series3 within this range, as shown in the code snippet below, solves the problem.
The problem is Series3 has less points than Series1 and Series2. It should have the same number of points and same X values for stacking to work fine with all series. Series3 has a gap between 1st December 2013 until 15th December 2013. Adding data (zero values) for Series3 within this range, as shown in the code snippet below, solves the problem.
Code: Select all
uses VCLTee.TeeStore;
procedure TForm1.FormCreate(Sender: TObject);
var
i: Integer;
begin
LoadChartfromFile(Chart1, 'g:\temp\test.tee');
for i := 1 to 15 do
begin
Chart1[2].AddXY(EncodeDate(2013, 12, i), 0);
end;
end;
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 |
Re: Painting Problem?
Ugg any quick way to check/add all the dates in all the series?
Re: Painting Problem?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |