ChartDirector 5.1 (PHP Edition)
FinanceChart.setData
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
timeStamps | (Mandatory) | An array of dates/times for the time intervals. |
highData | (Mandatory) | The high values in the time intervals. |
lowData | (Mandatory) | The low values in the time intervals. |
openData | (Mandatory) | The open values in the time intervals. |
closeData | (Mandatory) | The close values in the time intervals. |
volData | (Mandatory) | The volume values in the time intervals. |
extraPoints | (Mandatory) | The number of leading time intervals that are not displayed in the chart. These intervals are typically used for computing indicators that require extra leading data, such as moving averages. |
Return Value