ChartRadarSplineSeriesStyle Object
See Also
ChartRadarSplineSeriesStyle Members

Chart Pro ActiveX Control v24.0
Description
Radar/Polar Spline Style.
For a list of all members defined in this module, see ChartRadarSplineSeriesStyle members.
Object Model






Remarks
Radar/Polar charts can use several different styles including Area, Spline Area, Line, Line Area, and Point. Furthermore, they can be displayed as a circle diagram or "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 basically another form of a line chart, represented as 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 these 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-degree circle with each pole evenly spaced. The Y-Axis is used to plot data on the poles, while the X-Axis is only used 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 for a set of categories. They make it easy to compare relative values for a single data point and identify similar or dissimilar points. Radar charts are best suited for showing commonality and outliers (e.g., certain car models tend to be more expensive with poor gas mileage). Typical uses for a radar chart include:
- Categories of data that occur in cycles (e.g., nature, months of the year)
- Comparing differences between actual/measured and ideal/estimated data (e.g., estimated vs. actual sales, sales by department, team performance, quality control)
- Comparing strengths and weaknesses (e.g., sports, department analysis)
Polar Chart
Polar charts use polar coordinates to plot data. The X-Axis is a circle, and the values are typically fixed in degrees (0-360) or radians. However, the chart allows you to set 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 best suited for plotting polar data. Plotting mathematical functions is a common use for a polar chart. Any type of data represented by an angle and distance would be ideal. For some data, it is useful to use the poles as a compass (North, South, East, West, etc.) and plot data relative to these directions (e.g., the location of houses can be plotted relative to the specified origin).
Area Style

Line Style

Spline and Spline Area Styles

Point Style

Example
' Radar/Polar Spline Area and Spline Style
ChartControl.Content.Legend.Visible = True
ChartControl.Content.Legend.HorizontalAlignment = xtpChartLegendFar
ChartControl.Content.Titles.Add "Polar Chart"
Dim Series As ChartSeries
Set Series = ChartControl.Content.Series.Add("Predicted")
Series.ArgumentScaleType = xtpChartScaleNumerical
Series.Points.Add 0, 5
Series.Points.Add 30, 1.5
Series.Points.Add 60, 5
Series.Points.Add 90, 4
Series.Points.Add 120, 2
Series.Points.Add 150, 10
Series.Points.Add 180, 9.2
Series.Points.Add 210, 2
Series.Points.Add 240, 3.7
Series.Points.Add 270, 8.5
Series.Points.Add 300, 5
Series.Points.Add 330, 6
Dim Style As New ChartRadarSplineAreaSeriesStyle
Set Series.Style = Style
Style.Marker.Visible = False
Set Series = ChartControl.Content.Series.Add("Measured")
Series.ArgumentScaleType = xtpChartScaleNumerical
Series.Points.Add 0, 8
Series.Points.Add 20, 3
Series.Points.Add 30, 5
Series.Points.Add 50, 4.8
Series.Points.Add 60, 6.5
Series.Points.Add 70, 8
Series.Points.Add 80, 8.6
Series.Points.Add 90, 9
Series.Points.Add 105, 7.5
Series.Points.Add 120, 9
Series.Points.Add 150, 5.5
Series.Points.Add 170, 7
Series.Points.Add 180, 3
Series.Points.Add 195, 9
Series.Points.Add 210, 7
Series.Points.Add 220, 9
Series.Points.Add 230, 9
Series.Points.Add 240, 8
Series.Points.Add 260, 2.3
Series.Points.Add 270, 5
Series.Points.Add 285, 4
Series.Points.Add 300, 1.5
Series.Points.Add 315, 8
Series.Points.Add 330, 8.2
Series.Points.Add 345, 9
Series.Points.Add 0, 8
Dim Style2 As New ChartRadarSplineSeriesStyle
Set Series.Style = Style2
Style2.Marker.Visible = False
Dim Diagram As ChartRadarDiagram
Set Diagram = ChartControl.Content.Diagrams(0)
Diagram.AxisX.Range.MinValue = 0
Diagram.AxisX.Range.MaxValue = 360 - 30
Diagram.AxisX.Range.AutoRange = False
Diagram.AxisX.GridSpacing = 30
Diagram.AxisX.GridSpacingAuto = False
Diagram.AxisX.TickMarks.Visible = False
Diagram.AxisX.Range.SideMargins = False
Diagram.AxisY.Range.MinValue = 0
Diagram.AxisY.Range.MaxValue = 10
Diagram.AxisY.TickMarks.Visible = False
See Also
ChartRadarSplineSeriesStyle Members
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.