IChartCandlestickDatum
interface
Chart
One OHLC data point in a candlestick series. Supplies the date label plus the four price levels (open, high, low, close) for the period. A datum missing any of the four price fields is silently skipped by the chart.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- daterequiredstring
- ISO date string or any human-readable label rendered on the X axis.
- openrequirednumber
- Opening price of the period.
- highrequirednumber
- Highest price of the period.
- lowrequirednumber
- Lowest price of the period.
- closerequirednumber
- Closing price of the period.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Providing OHLC data for a candlestick chart