ChartDirector 6.2 (.NET Edition)

XYChart.addStepLineLayer


Usage

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

Description

Adds a step line chart layer to the XYChart.

In a step line layer, the data points are connected together using steps. The alignment of the steps relative to the data points can be configured using StepLineLayer.setAlignment.

Arguments

ArgumentDefaultDescription
data[Empty_Array]An array of numbers representing the data set.
color-1The color to draw the step line. -1 means that the color is automatically selected from the palette.
name""The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name.

Return Value

A StepLineLayer object representing the step line layer created.