Vertical line artifact

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Sam F
Newbie
Newbie
Posts: 45
Joined: Wed Sep 10, 2008 12:00 am

Vertical line artifact

Post by Sam F » Thu Jun 09, 2011 9:50 am

I've found that if I zoom in far enough on one of my charts, I get a vertical line (see attached) that does not appear to be from the data, as it doesn't move along the screen when I pan the chart with my mouse (and isn't there if I haven't zoomed in this far). There's a lot going on with the chart, so I wasn't able to reproduce the problem in a simple project. But, the problem does go away when I remove the line 'pLineSeries->XValues->Order = loNone;' so presumably that is related to the issue. The chart is plotting some 25,000 points of data.
Attachments
VerticalLine.jpg
Artifact
VerticalLine.jpg (47.28 KiB) Viewed 3442 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Vertical line artifact

Post by Yeray » Fri Jun 10, 2011 1:49 pm

Hello Sam,

I was going to say that we'd need more information to reproduce it here but actually it appeared to be enough to create a line series with some thousands points and zooming three or four times it has been reproduced.
Here it is the simple code to reproduce it in a more stable way:

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;
  Chart1.AddSeries(TLineSeries).FillSampleValues(10000);

  Chart1[0].XValues.Order:=loNone;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  Chart1.Axes.Bottom.SetMinMax(1000,1025);
end;
So I've added it to the defect list to be revised asap (TV52015608).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply