Skip to content

ChartRadarAreaSeriesStyle Object

See also

Description

Radar/Polar Area style.

For a list of all members defined in this module, see ChartRadarAreaSeriesStyle members.

Object model

ChartRadarAreaSeriesStyle diagram

connectorErrorBar (ChartSeriesErrorBar)

connectorGetRotation (Chart3dRotation)

connectorLabel (ChartRadarPointSeriesLabel)

connectorMarker (ChartMarker)

connectorFillStyle (ChartFillStyle)

child connectorBorder (ChartBorder)

Remarks

Radar/Polar charts can use several different styles including Area, Spline Area, Line, Line Area and Point. They can be displayed as a circular diagram or a "spider" diagram (straight lines).

Note: To make a "closed" loop the last data point must be the same as the first.

Radar chart

Radar charts are another form of a line chart represented as a radar. Data is drawn as a line around the center of the radar. Radar charts use "poles" to display data. Each data point is displayed on one of the poles radiating from the center. For each unique data point in the series a new pole will be added. The poles are drawn in a 360° circle with each pole evenly spaced. The Y-axis is used to plot data on the poles while the X-axis is used only for labeling the poles. Data is plotted as (label, y), where "label" is the label for the pole and "y" is the distance from the center of the circle.

Radar charts are typically used to compare data across a set of categories. They make it easy to compare relative values for a single data point and find similarities or outliers. Typical uses include categories that occur in cycles (months of the year), comparing actual versus estimated data (estimated vs actual sales), team performance, quality control, or comparing strengths and weaknesses (sports, department analysis).

Polar chart

Polar charts use polar coordinates to plot data. The X-axis is a circle and the values are normally fixed in degrees (0–360) or radians, but the chart allows any desired range. Data is plotted in terms of values and angles, where "x" is the angle/rotation and "y" is the distance from the center of the circle.

Polar charts are, as their name implies, best suited for plotting polar data. Plotting mathematical functions is a common use. Any data represented by an angle and a distance is appropriate. In some cases the poles act as compass directions (North, South, East, West), and data can be plotted relative to these directions (for example, locations of houses relative to a specified origin).

Styles

Area Style:

Radar area style

Line Style:

Radar line style

Spline and Spline Area Styles:

Radar spline style

Point Style:

Radar point style

Example

' Radar/Polar Area Style

ChartControl.Content.Legend.Visible = True
ChartControl.Content.Legend.HorizontalAlignment = xtpChartLegendFar

ChartControl.Content.Titles.Add "Average Temperature in Boston, MA"

Dim Series As ChartSeries
Set Series = ChartControl.Content.Series.Add("Day")

Series.Points.Add "January", 36
Series.Points.Add "February", 39
Series.Points.Add "March", 46
Series.Points.Add "April", 56
Series.Points.Add "May", 67
Series.Points.Add "June", 77
Series.Points.Add "July", 82
Series.Points.Add "August", 80
Series.Points.Add "September", 73
Series.Points.Add "October", 62
Series.Points.Add "November", 52
Series.Points.Add "December", 42

Dim Style As New ChartRadarSplineAreaSeriesStyle
Set Series.Style = Style

Set Series = ChartControl.Content.Series.Add("Night")

Series.Points.Add "January", 22
Series.Points.Add "February", 24
Series.Points.Add "March", 31
Series.Points.Add "April", 41
Series.Points.Add "May", 50
Series.Points.Add "June", 59
Series.Points.Add "July", 65
Series.Points.Add "August", 64
Series.Points.Add "September", 57
Series.Points.Add "October", 46
Series.Points.Add "November", 38
Series.Points.Add "December", 28

Set Series.Style = Style

Dim Diagram As ChartRadarDiagram
Set Diagram = ChartControl.Content.Diagrams(0)

Diagram.AxisX.TickMarks.MinorVisible = False
Diagram.AxisY.TickMarks.MinorVisible = False

Diagram.AxisX.Interlaced = False
Diagram.AxisY.Interlaced = True

See also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.