In This Topic
A Polar Area chart displays a filled closed contour in a 2-dimensional polar coordinate system. The contour is defined by a sequence of data points, where the position of each data point is specified by its distance from the center and its rotation angle. The following image shows a polar area chart:
Creating a Polar Area Series
Polar Area series are represented by the NPolarAreaSeries type. An instance of this type must be added to the series collection of a Polar chart:
C# |
Copy Code
|
NPolarAreaSeries polarArea = new NPolarAreaSeries();
polarChart.Series.Add(polarArea);
|
Passing Data
Polar Area series accept data points of type NPolarAreaDataPoint. The following code snippet shows how to add data to a polar area series:
C# |
Copy Code
|
NPolarAreaDataPoint polarAreaDataPoint = new NPolarAreaDataPoint();
polarAreaDataPoint.X = 10;
polarAreaDataPoint.Y = 10;
polarArea.DataPoints.Add(polarAreaDataPoint);
|
See Also