ChartDirector 7.1 (.NET Edition)

PolarChart.addSplineLineLayer


Usage

[C#]public PolarSplineLineLayer addSplineLineLayer(double[] data [, int color [, string name ]]);
[VB]Public Function addSplineLineLayer(data As Double() [, color As Integer [, name As String ]]) As PolarSplineLineLayer

Description

Adds a polar spline line layer to the polar chart.

In a polar spline line layer, the data points are connected together using cardinal spline curves (as opposed to straight lines). The "tension" of the curve can be configured using PolarSplineLineLayer.setTension.

Arguments

ArgumentDefaultDescription
data(Mandatory)An array of numbers representing the data points in the layer.
color-1The color to draw the spline line. -1 means that the color is automatically selected from the palette.
name""The name of the layer. The name will be used in the legend box, if one is available. An empty string means the layer has no name.

Return Value

A PolarSplineLineLayer object representing the chart layer created.