CustomBarWitdh

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
PMM
Newbie
Newbie
Posts: 1
Joined: Fri Jan 10, 2003 5:00 am
Location: Germany
Contact:

CustomBarWitdh

Post by PMM » Mon Mar 15, 2004 2:36 pm

I've a BarSeries Chart, where the horizontal axis min/max, delta X, and the barwidth has to be calculated frequently.
What is the right order to do this? I've tried something like:
- Clear series
- calc delta x
- insert values to the series
- set horiz. axis min / max values
- calc CustomBarWitdh using "GetHorizAxis.CalcSizeValue(DeltaX)"
- repaint the chart
but it seems, that CalcSizeValue is always "one step behind".
Whats ging wrong?

Post Reply