MindFusion.Charting Programmer's Guide

LineChart.MultiColoredShapes Property

See Also
 





Gets or sets whether scatters in line charts are drawn in one color.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public bool MultiColoredShapes { get; set; }

Visual Basic  Copy Code

Public Property MultiColoredShapes As Boolean

 Property Value

A bool value, which specifies if scatters are multicolored or not.

 Remarks

Scatters are drawn when the LineType is set to LineTypes.Scatter. The type of scatters is specified with Shapes property. Line points for the Y2 axis and the summary graphics are set with Y2Shapes and SummaryShapes.

The scatters are drawn with pens and brushes from ShapePens and ShapeBrushes. The control can draw all the shapes using one brush or all the brushes in a cycle. If MultiColoredShapes is true, all scatters in a single series are drawn with all ShapeBrushes. Otherwise each series is drawn with the subsequent brush.

The pens and brushes for Y2 and summary scatters are set with Y2ShapePens, Y2ShapeBrushes and SummaryShapePens, SummaryShapeBrushes.

Default value for the MultiColoredShapes property is false.

 See Also