There are four ways to pass
the data values to your series:
- Property DataArray: pass the whole data as an one-dimensional array of doubles.
- Property DataString: pass the whole data as a string, in which the single values are delimited by asterisks.
- Method SetDataValue: pass each data value apart.
- Function SetDataFile: set the name of a file (and more parameters) which contains the data.
Normally for each chart object exists one data value. If you have for example five bars of type RMC_BARSINGLE you
must pass five data values. There are two exceptions:
- Bars with type RMC_FLOATINGBAR and RMC_FLOATINGBARGROUP
expect a data pair for each bar, consisting of a value for the starting point and a second value
for the length of the bar. Example: Imagine the data axis has a range from 1 to 10 and you want to draw a floating bar which starts at 2 and ends at 9.
In this case you must pass the data pair 2,7 for this bar.
- HighLow series expect four data values for each object in the order
open - high - low - close
|