Data only appears in middle 2/3 of the chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Pep
Site Admin
Site Admin
Posts: 3306
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Mar 24, 2004 4:02 pm

Hi,

which TeeChart Pro version are you using ?
I've just test it here using the latest TeeChart Pro v7 with Delphi 7 and works as expected.
Could you please tell me the steps to reproduce the problem ?

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Tue Mar 30, 2004 1:32 pm

Hi, Mochi.

Thanks for the example - I'm getting the same results. I'll log this to our bug list so that it can be addressed in next release. In the meantime a workaround is to manually define axis scale by
a) calculating series min/max value
b) using chart axis SetMinMax method to set axis scale.

In your case:

Code: Select all

With Series1 do
  GetHorizAxis.SetMinMax(XValues.MinValue,XValues.MaxValue);
Marjan Slatinek,
http://www.steema.com

Post Reply