Page 1 of 1

Bug: Shape Series with DateTime Axis Periodicly disappears

Posted: Wed Nov 02, 2011 10:46 pm
by 16557867
Version: TeeChart Pro v2011.03.30407 Win 32

We have a graph with an Rectangular Shape Series.

The X-axis is set to DateTime format.
The Shape ranges from year 1870's to 2100
The Axis is set to narrow range of 1 minute.

The Shape is only shown "sometimes" depending on the width.

The Timer1 changes the Width of the Chart2, showing how the
Shape disappears and re-appears by setting the width.

Re: Bug: Shape Series with DateTime Axis Periodicly disappears

Posted: Thu Nov 03, 2011 12:45 pm
by yeray
Hello,

You are right. However, it seems to be related to the axis range and the chart size, independently of setting the axis as DateTime or not.
Here it is the code to reproduce it. You just have to resize the chart to see how the series appears and disappears.

Code: Select all

uses TeeShape;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Align:=alClient;
  Chart1.View3D:=false;

  with Chart1.AddSeries(TChartShape) as TChartShape do
    Style:=chasRectangle;

  Chart1.Axes.Bottom.SetMinMax(99.99999, 100);
end;
I've added it to the defect list to be revised for future releases (TV52015812).
Thanks for reporting it.