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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

date
requis
string
ISO date string or any human-readable label rendered on the X axis.
open
requis
number
Opening price of the period.
high
requis
number
Highest price of the period.
low
requis
number
Lowest price of the period.
close
requis
number
Closing price of the period.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Providing OHLC data for a candlestick chart

typescript