Data
Data(iDataSet, iIndex, nData)
Graph data (index and set)
iDataSet | Integer | Dataset |
---|---|---|
iIndex | Integer | Index number for the data point |
nData | Numeric | Value at that data point |
Returns result of type OBJECT or SYM
Applies to: Graph
Introduced in KCML version 5.03
Data(iIndex, nData)
Graph data (index)
iIndex | Integer | Index number for the data point |
---|---|---|
nData | Numeric | Value at that data point |
Returns result of type OBJECT or SYM
Applies to: Graph
Introduced in KCML version 5.03
The Data method adds data to the graph. On pie charts, only one data set is displayed (the first), but on bar charts it is possible to have one data set (with each bar in a separate color) or multiple data sets (with each data set in a separate color, but all elementsof each data set in the same color). Datasets are numbered from zero.
The index and set values are arbitrary values, which do not need to be declared first. Graphs are displayed in increasing order of data set and data index.
On simpler graphs like pie charts, where only one data set is being displayed, the simpler form of Data() with only two arguments and omitting the data set number, may be used.