MindFusion.Charting Programmer's Guide

Bar.Brush Property

See Also
 





Gets the brush for this Bar.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public Brush Brush { get; }

Visual Basic  Copy Code

Public ReadOnly Property Brush As Brush

 Property Value

An instance of MindFusion.Drawing.Brush class.

 Remarks

The property gets the brush, which is used for painting this bar. The brushes for bar charts are set with ChartBrushes. If MultiColored is set to true, all bars in bar series are drawn with different brushes, otherwise only one brush is used.

When ChartBrushes is an empty list, a default blue gradient brush is used.

 See Also