Page 1 of 1

Vertical line artifact

Posted: Thu Jun 09, 2011 9:50 am
by 10550286
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.

Re: Vertical line artifact

Posted: Fri Jun 10, 2011 1:49 pm
by yeray
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).