ChartDirector 7.1 (.NET Edition)

XYChart.addLineLayer3


Usage

[C#]public LineLayer addLineLayer3(DataAccelerator fastDB, string seriesId [, int color [, string name ]]);
[VB]Public Function addLineLayer3(fastDB As DataAccelerator, seriesId As String [, color As Integer [, name As String ]]) As LineLayer

Description

Adds a line layer using data from a DataAccelerator.

The LineLayer created using this method will use only the data series provided by the DataAccelerator. It does not support adding more data sets, that is, Layer.addDataSet or Layer.setXData should not be used. Additional LineLayer objects should be used to plot other data series.

Arguments

ArgumentDefaultDescription
fastDB(Mandatory)The DataAccelerator object that provides the x and y data values.
seriesId(Mandatory)The id of the data series. The DataAccelerator will provide the x data series and the y data series with the specified id to the LineLayer.
color-1The color to draw the line. -1 means that the color is automatically selected from the palette.
name""The name of the data series. 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 LineLayer object representing the line layer created.