MindFusion.Charting Programmer's Guide

LineChart.Y2ShapeBrushes Property

See Also
 





Gets or sets the brushes for drawing of point shapes at Y2 scatter charts.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public BrushCollection Y2ShapeBrushes { get; set; }

Visual Basic  Copy Code

Public Property Y2ShapeBrushes As BrushCollection

 Property Value

 Remarks

The property specifies the brushes, with which point shapes at scatter charts for Y2 are drawn. In order to draw graphics for the second Y-axis, add the desired data to the Y2Data property. The X-values of the lines are taken from the XData property.

The point shapes of Y2 lines are drawn with pens from the Y2ShapePens property. If the Y2ShapePens is an empty list, the control uses a default black pen. If the Y2ShapeBrushes is an empty list, a default blue gradient brush is used.

The size of the point shapes is set with Y2ShapeSizes.

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

Default value for the Y2ShapeBrushes property is an empty BrushCollection object.

 See Also