Polar Range series are represented by the NPolarRangeSeries type. An instance of this type must be added to the series collection of a Polar Chart (NPolarChart object).
C# |
Copy Code
|
---|---|
// clear the Charts collection and create a new polar chart NPolarChart chart = new NPolarChart(); nChartControl1.Charts.Clear(); nChartControl1.Charts.Add(chart); // add a polar range series to the chart NPolarRangeSeries polarRange = new NPolarRangeSeries(); chart.Series.Add(polarRange); |
Visual Basic |
Copy Code
|
---|---|
' clear the Charts collection and create a new polar chart Dim chart As New NPolarChart NChartControl1.Charts.Clear() NChartControl1.Charts.Add(chart) ' add a polar range series to the chart Dim polarRange As New NPolarRangeSeries chart.Series.Add(polarRange) |