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?
TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
1 post • Page 1 of 1