MindFusion.Charting Programmer's Guide

LineChart.Y2ShapePens Property

See Also
 





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

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

 Syntax

C#  Copy Code

public PenCollection Y2ShapePens { get; set; }

Visual Basic  Copy Code

Public Property Y2ShapePens As PenCollection

 Property Value

 Remarks

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

The point shapes of summary lines are filled with brushes from the Y2ShapeBrushes property. If it is an empty list, a default white-blue gradient brush is used. If the ShapePens is an empty list, the control uses a black pen.

Their 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 Y2ShapePens property is an empty PenCollection object.

 See Also