Nevron .NET Vision Documentation
Radar Area

A Radar Area chart plots the values of each category along a separate axis that radiates from the center of the chart and ends on the outer ring. A line connects all the values from a series and the area enclosed by the line is filled. The following figure displays a Radar Area chart.




Figure 1.

Creating a Radar Area Series

Radar Area series are represented by the NRadarAreaSeries type. An instance of this type must be added to the series collection of a Radar Chart (NRadarChart object).

C#
Copy Code
nChartControl1.Panels.Clear();

// clear the Charts collection and create a new radar chart
NRadarChart radarChart = new NRadarChart();
nChartControl1.Panels.Add(radarChart);
// add radar axis for each radar ray
radarChart.Axes.Add(new NRadarAxis());
radarChart.Axes.Add(new NRadarAxis());
radarChart.Axes.Add(new NRadarAxis());
// add a radar area series to the chart
NRadarAreaSeries radarArea = new NRadarAreaSeries();
radarArea.Values.Add(10);
radarArea.Values.Add(20);
radarArea.Values.Add(30);
radarChart.Series.Add(radarArea);
Visual Basic
Copy Code
NChartControl1.Panels.Clear()
' clear the Charts collection and create a new radar chart
Dim radarChart As New NRadarChart
NChartControl1.Panels.Add(radarChart)
' add radar axis for each radar ray
radarChart.Axes.Add(New NRadarAxis())
radarChart.Axes.Add(New NRadarAxis())
radarChart.Axes.Add(New NRadarAxis())
' add a radar area series to the chart
Dim radarArea As New NRadarAreaSeries
radarArea.Values.Add(10)
radarArea.Values.Add(20)
radarArea.Values.Add(30)
radarChart.Series.Add(radarArea)
Passing Data
Once the Radar Area series is created you can add some data in it. Radar Area series use the Values data series for the data point values. You can either manipulate directly this data series, or use the data point interface to add data. Please refer to the Working with Data Points topic for more information.
See Also

 

 


©2017. Nevron Software LLC.

Send Feedback