MindFusion.Charting Programmer's Guide

LineChart.ShapePens Property

See Also
 





Gets or sets the pens, which are used for outlining of point shapes in scatter charts.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public PenCollection ShapePens { get; set; }

Visual Basic  Copy Code

Public Property ShapePens As PenCollection

 Property Value

A Mindfusion.Drawing.PenCollection object, which holds the pens for the shapes.

 Remarks

The property specifies the pens for drawing the outlining of shapes in scatter charts. The shapes are filled with ShapeBrushes.

In case no pens are set with the ShapePens property, the control uses a default black pen. If the ShapeBrushes are not set, the control uses a default blue gradient brush.

If the point shapes are multicolored, all pens are used for drawing of the shapes at a given line chart. If their count is smaller than the count of line data values, the control cycles through them.

If point shapes are not multi colored, the control takes for each line graphics a consequent pen from the ShapePens array. When necessary, it repeats the pens in a cycle.

Whether a chart is drawn with multicolored point shapes depends on the value of the MultiColoredShapes property. Scatter charts are drawn when the LineType property is set to LineTypes.Scatter.

Default value for the ShapePens property is an empty list.

 See Also