ChartDirector 7.0 (Java Edition)

DataAccelerator.extendLength


Usage

public void extendLength(int length)

Description

Extends the number of valid values in the arrays.

This method is usually used by real time charts. After storing the real time data into the data arrays, the extendLength method should be used to notify the DataAccelerator of the new data. You must ensure all data arrays in the DataAccelerator are updated to contain valid data before calling this method.

You can only increase the number of valid values, but not decrease it.

Arguments

ArgumentDefaultDescription
length(Mandatory)The number of valid values in the arrays.

Return Value

None