THorizBarSeries.DrawBar
THorizBarSeries
procedure DrawBar(BarIndex, StartPos, EndPos: Integer); override;
Unit
Series
Description
The DrawBar method is internally called when the series repaints all the bar points.
This method paints a bar on the Chart canvas. The BarIndex parameter is equivalent to the point index, the StartPos and EndPos parameter specify the bar positions in horizontal screen pixels.
When the horizontal axis is TChartAxis.Inverted, position coordinates are also inverted.