Chart / Charts / Chart Types / Polar / Series / Polar Line Series
Polar Line Series

A Polar Line chart displays a sequence of data points connected by a line in a 2-dimensional polar coordinate system. The position of a point is specified by its distance from the center and its rotation angle. Consecutive points are connected with straight line segments. The following image shows a polar line chart:

 Creating a Polar Line Series

Polar Line series are represented by the NPolarLineSeries type. An instance of this type must be added to the series collection of a Polar chart:

C#
Copy Code
NPolarLineSeries polarLine = new NPolarLineSeries();
polarChart.Series.Add(polarLine);
 Passing Data

Polar Line series accept data points of type NPolarLineDataPoint. The following code snippet shows how to add data to a polar line series:

C#
Copy Code
NPolarLineDataPoint polarLineDataPoint = new NPolarLineDataPoint();
polarLineDataPoint.X = 10;
polarLineDataPoint.Y = 10;
polarLine.DataPoints.Add(polarLineDataPoint);
See Also