[VB] | Public Function addDataSet(data As Double() [, color As Integer [, name As String ]]) As ChartDirector.DataSet |
[C#] | public ChartDirector.DataSet addDataSet(double[] data [, int color [, string name ]]); |
ChartDirector 5.1 (.NET Edition)
Layer.addDataSet
Usage
[VB] | Public Function addDataSet(data As Double() [, color As Integer [, name As String ]]) As ChartDirector.DataSet |
[C#] | public ChartDirector.DataSet addDataSet(double[] data [, int color [, string name ]]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
data | (Mandatory) | An array of numbers representing the data set. |
color | -1 | The color to draw the data item. -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