ICustomBarSeries.BarBrush
ICustomBarSeries
property BarBrush: IBrush;
Type Library
TeeChartx
Description
The BarBrush property defines the Brush used to fill Bars. You can set the Brush Color and Brush Style properties. When BarBrush.Style is different than bsSolid, the Series.Color color is the background bar color.
Example [Visual Basic]:
This code will display Bars with patterns:
With TChart1
.AddSeries scBar
.Series(0).FillSampleValues 20
.Series(0).asBar.BarBrush.Style = bsBDiagonal
.Series(0).asBar.BarBrush.Color = vbWhite
.Series(0).Color = vbRed
End With