MindFusion.Charting Programmer's Guide

LineChart.ShapeBrushes Property

See Also
 





Gets or sets the brushes, which are used for filling the point shapes in scatter charts.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public BrushCollection ShapeBrushes { get; set; }

Visual Basic  Copy Code

Public Property ShapeBrushes As BrushCollection

 Property Value

A BrushCollection object, which holds the brushes for scatter shapes.

 Remarks

The property specifies the brushes used for filling shapes in scatter charts. The pens used for drawing the outlining of line point shapes are specified with the ShapePens property. In case no pens are set, the control uses a default black shape. In case no brushes are set, a default blue-white gradient brush is used.

If point shapes are not multi colored, the control takes for each line graphics a consequent chart from the ShapeBrushes array. When necessary, it repeats the brushes in a cycle. Whether a chart is drawn with multicolored point shapes depends on the value of the MultiColoredShapes property. When the line is with MultiColoredShapes, each point shape at it is drawn with different brush.

Scatter charts are drawn when the LineType property is set to LineTypes.Scatter.

Default value for the ShapeBrushes property is an empty list.

 See Also