[C#] | public TrendLayer addTrendLayer(double[] data [, int color [, string name [, int depth ]]]); |
[VB] | Public Function addTrendLayer(data As Double() [, color As Integer [, name As String [, depth As Integer ]]]) As TrendLayer |
ChartDirector 7.1 (.NET Edition)
XYChart.
Usage
[C#] | public TrendLayer addTrendLayer(double[] data [, int color [, string name [, int depth ]]]); |
[VB] | Public Function addTrendLayer(data As Double() [, color As Integer [, name As String [, depth As Integer ]]]) As TrendLayer |
Description
Arguments
Argument | Default | Description |
---|---|---|
data | (Mandatory) | An array of numbers representing the data set. |
color | -1 | The color to draw the 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. |
depth | 0 | The 3D depth of the line layer. |
Return Value