Defines the Brush used to fill Bars.
public ChartBrush Brush {get;}

Remarks


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


This code will display Bars with patterns:

[C#]

Steema.TeeChart.Styles.Bar Series1 = new Steema.TeeChart.Styles.Bar(); 
tChart1.Series.Add(Series1);
Series1.FillSampleValues (20);
Series1.Brush.Style = System.Drawing.Drawing2D.HatchStyle.Cross;
Series1.Brush.Color = Color.white;
Series1.Color = Color Red;





See Also

CustomBar Class | CustomBar Members | Steema.TeeChart.Styles Namespace