Page 1 of 1

CustomBarWitdh

Posted: Mon Mar 15, 2004 2:36 pm
by 8577248
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?