﻿ Polar Point
Nevron .NET Vision Documentation
Polar Point

A Polar Point chart displays data points in a 2-dimensional polar coordinate system. The position of a point is specified by its distance from the center and its rotation angle. The following figure displays a Polar Point chart. Figure 1.

Creating a Polar Point series

Polar Point series are represented by the NPolarPointSeries 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();
chartControl.Charts.Clear();

// add a polar point series to the chart
NPolarPointSeries polarPoint = new NPolarPointSeries();
```
Visual Basic
Copy Code
```' clear the Charts collection and create a new polar chart
Dim chart As New NPolarChart
chartControl.Charts.Clear()

' add a polar point series to the chart
Dim polarPoint As New NPolarPointSeries
```
Passing Data

Once the series is created you can add some data in it. Polar series use the Values data series for the polar data point radiuses (distances from the center). In addition to this data series the polar series provides another data series of type Double, which holds the polar data point angles. It is accessible through the Angles property of the NPolarSeries class.

You can either manipulate directly the Values and Angles data series, or use the data point interface to add data. The NPolarDataPoint class provides several constructors that can be very helpful when you add data points. Please refer to the Working with Data Points topic for more information.

Controlling the points shape

The shape of the point segments can be controlled from the PointShape property. It accepts values from the PointShape enumeration. For example the following code will display the points as pyramids:

C#
Copy Code
```point.PointShape = PointShape.Pyramid;
```
Visual Basic
Copy Code
```point.PointShape = PointShape.Pyramid
```

By default the PointShape property is set to Bar. The size of the points is controlled through the Size property, which is of type NLength. The point size can be specified as percentage of the chart size:

C#
Copy Code
```point.Size = new NLength(1, NRelativeUnit.ParentPercentage);
```
Visual Basic
Copy Code
```point.Size = New NLength(1, NRelativeUnit.ParentPercentage)
```
Formatting commands
Besides the standard formatting commands you can use the following commands in format strings:

<angle_in_degrees> - the current data point angle in degrees (extracted from the Angles data series)
<angle_in_radians> - the current data point angle in radians (extracted from the Angles data series)
Related Examples
Windows forms: Chart Gallery\Polar\Polar Point
{"ft_lang_label":"__label__en","ft_lang_prob":0.7444488,"math_prob":0.93560874,"size":2417,"snap":"2019-51-2020-05","text_gpt3_token_len":526,"char_repetition_ratio":0.17074181,"word_repetition_ratio":0.08108108,"special_character_ratio":0.20397186,"punctuation_ratio":0.12093023,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9521047,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-12-14T15:26:26Z\",\"WARC-Record-ID\":\"<urn:uuid:6458c9d2-b22c-4d1c-b7c4-b3f263cbcad5>\",\"Content-Length\":\"21988\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:69f2a94c-0757-4ed1-9ad2-a82ef70538e6>\",\"WARC-Concurrent-To\":\"<urn:uuid:29d09ed0-84f9-4b1f-956b-33de3add3ead>\",\"WARC-IP-Address\":\"206.225.81.32\",\"WARC-Target-URI\":\"http://helpdotnetvision.nevron.com/UsersGuide_ChartTypes_Polar_PolarPoint.html\",\"WARC-Payload-Digest\":\"sha1:7NR42Q3CBKNU5DQEPXAGPN5RM3EZRQNH\",\"WARC-Block-Digest\":\"sha1:TYKSNU4R3NEJOQHLWLPZFUIQN7XYNMTQ\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-51/CC-MAIN-2019-51_segments_1575541281438.51_warc_CC-MAIN-20191214150439-20191214174439-00131.warc.gz\"}"}