MindFusion.Charting Programmer's Guide

RadarChart Class

Remarks See Also
 





A class used to draw radar charts.

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

 Syntax

C#  Copy Code

public class RadarChart : Chart, ISupportInitialize

Visual Basic  Copy Code

Public Class RadarChart
    Inherits Chart
    Implements ISupportInitialize

JavaScript  Copy Code

// class
RadarChart.prototype = {}

 Remarks

RadarChart inherits properties and methods from its base class Chart.

MindFusion.Charting can draw both 2D and 3D radar and polar charts. The different radar types are listed as members of the RadarType Enumeration. 3D charts are drawn with a 3D-like background, which color is specified with the Background3D color.

The style of the radar / polar chart is set by the RadarStyle property. The property's values allow bitwise combination.

The brushes and pens that are used in radar charts are set with ChartBrushes and ChartPens. It is not necessary to set both. Use ShapeBrushes and ShapePens to set how data points are drawn.

Typically, a radar chart has as many outer axes as the count of data series. They are drawn as concentrical circles. The biggest one is the OuterAxis, the rest are alternative outer axes. Set SpiderWeb to true to draw the outer axes as polygons instead of circles. They are drawn with AltAxesPens. In polar charts, the outer axis holds information about the angles of the data points. They are specified with the Angles property.

The outer axis is drawn with the OuterAxisPen. Labels can be drawn at the intersection points of the outer axis with each inner axis. The type of those labels is set with OuterAxisLabelType. Labels might also be drawn in the middle of each segment - they are only custom text and are set with OuterLabels.

AxisLabelType.ChartData is not applied for specifying the OuterAxisLabelType property. AxisLabelType.AutoScale is used only in RadarChart objects.

Usually a radar chart will have as many inner axes as the count of elements in the longest Data series. The inner axes are drawn as radiuses. One of them is the primary InnerAxis and its position is set with InnerAxisPosition. The InnerAxis holds the scale divisions for the radar data. It starts from MinValue and ends with MaxValue. The Span property determines the count of the divisions.

The InnerAxis is drawn with the InnerAxisPen. Its labels depend on InnerAxisLabelType. Custom labels are set with InnerAxisLabels. If the labels are numbers, they are formatted with InnerLabelFormat.

The chart background can be drawn in sections or segments. Sections resemble concentric circumferences drawn with brushes from the SectionBrushes property. The positions of the sections are specified with SectionPoints.

Segments represent triangular-like areas within two inner axes. They are filled with brushes taken consecutively from the SegmentBrushes.

 Inheritance Hierarchy

System.Object
    System.Web.UI.Control
        System.Web.UI.WebControls.WebControl
            System.Web.UI.WebControls.BaseDataBoundControl
                System.Web.UI.WebControls.DataBoundControl
                    MindFusion.Charting.WebForms.Chart
                        MindFusion.Charting.WebForms.RadarChart

 See Also