SetDataValues

SetDataValues — Set the data array for plotting

Synopsis

$plot->SetDataValues($dv)
    

Description

SetDataValues sets the data array which contains the data values to be plotted. Use of this function is required.

Parameters

$dv

The data array, containing values according to the data type format set by SetDataType.

Notes

The data array $dv must use zero based sequential integer indexes. This is what the PHP manual calls 'the usual integer indices (starting from zero, increasing by one)'. Each entry in the data array is also an array, representing one 'record'. The record arrays need not use zero based sequential integer indexes; the entries are processed in the same order in which they were defined, regardless of the index values.