MindFusion.Charting Programmer's Guide

Chart.ChartPens Property

See Also
 





Specifies the pens for the charts.

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

 Syntax

C#  Copy Code

public PenCollection ChartPens { get; set; }

Visual Basic  Copy Code

Public Property ChartPens As PenCollection

 Property Value

An object of type MindFusion.Drawing.PenCollection class.

 Remarks

The control uses ChartPens to draw line charts, area charts with outlining as well pie and doughnut charts.

If both the ChartPens and ChartBrushes properties are empty, the control uses a default white-blue gradient brush and a black pen.

If the ChartBrushes are specified and the ChartPens is an empty list, then the control fills the ChartPens with pens which are the same count and color as the chart brushes and with default width 1. If the chart pens are specified, the control fills the chart brushes with solid brushes, which are the same color and count as the pens.

Default value of the ChartPens property is an empty array.

 See Also