Candlestick Chart
Candlestick Chart
OHLC (Open / High / Low / Close) candlestick charts for financial and time-series data. Rising candles are green, falling are red by convention.
Basic
A simple OHLC chart with rising/falling colours.
API Reference
CandlestickChart and Candlestick series parameters.
| Prop | Type | Default | Description |
|---|---|---|---|
| OpenKey | string | required | Property name for the open price. |
| HighKey | string | required | Property name for the high price. |
| LowKey | string | required | Property name for the low price. |
| CloseKey | string | required | Property name for the close price. |
| RisingColor | string? | null | Color when close > open (default green CSS variable). |
| FallingColor | string? | null | Color when close ≤ open (default red CSS variable). |
| BarWidth | string? | null | Candle body width as a percentage or pixel string. |