Bug: Shape Series with DateTime Axis Periodicly disappears

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pch-chj
Newbie
Newbie
Posts: 1
Joined: Tue Nov 16, 2010 12:00 am

Bug: Shape Series with DateTime Axis Periodicly disappears

Post by pch-chj » Wed Nov 02, 2011 10:46 pm

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.
Attachments
SteemaRectDisappears.zip
Example of the Bug.
(1.97 KiB) Downloaded 318 times

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

Re: Bug: Shape Series with DateTime Axis Periodicly disappears

Post by Yeray » Thu Nov 03, 2011 12:45 pm

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.
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