MindFusion.Charting Programmer's Guide

RadarChart.SectionBrushes Property

See Also
 





Specifies the brushes for drawing the sections of the chart circle.

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

 Syntax

C#  Copy Code

public BrushCollection SectionBrushes { get; set; }

Visual Basic  Copy Code

Public Property SectionBrushes As BrushCollection

 Property Value

An instance of MindFusion.Drawing.BrushCollection that holds the brushes.

 Remarks

The property specifies the brushes for drawing background sections. The sections are circles (polygons) concentric to the outer axis. The outer axis is the chart bounding circumference (polygon).

The positions of the sections are calculated based on the SectionPoints property. Its values should range from 0 to 100.

When the brushes are less than the count of sections, MindFusion.Charting cycles through them again. The brushes follow the order of setting the section points - brushes for the bigger sections should be added last.

The sections are drawn as polygons when SpiderWeb is set to true.

Alternatively, the chart background can be drawn as differently colored segments. Use SegmentBrushes to specify the brushes for that.

Background is drawn when any of the SectionBrushes or SegmentBrushes is not an empty collection. If both are specified, the background is drawn in sections.

Default value for the SectionBrushes property is an empty BrushCollection.

 See Also