Candle Chart
Type:
candle_chart• Category:visualization
Description
Store OHLC candlestick data for chart widget
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
widgetId | hidden | no | ||
rowsExpr | string | Expr -> list[dict] (each dict: ts, o, h, l, c) | no | |
columns | array | Optional list of columns (ts, o, h, l, c) | no | |
open | string | no | ||
close | string | no | ||
high | string | no | ||
low | string | no | ||
volume | string | no | ||
timestamp | string | no | ||
limit | number | no | 500 |
Help
Candle Chart Worker - Financial Price Visualization
Create candlestick charts for OHLC (Open, High, Low, Close) financial data with volume support.
Data Sources:
- rowsExpr: Expression returning list[dict] with OHLC data
- Field mapping: Specify which fields contain O, H, L, C, Volume, Timestamp
- limit: Maximum candlesticks to display (default: 500)
Required Fields:
- timestamp: Time period for each candle
- open: Opening price
- high: Highest price in period
- low: Lowest price in period
- close: Closing price
Optional Fields:
- volume: Trading volume (displayed as bars below chart)
Features:
- Color coding: Green (bullish: close > open), Red (bearish: close < open)
- Volume bars: Optional volume visualization
- Interactive: Zoom, pan, crosshair, tooltips
- Time-based: Proper time axis formatting
- Auto-detection: Field names auto-detected from data
Data Format: Each row represents one time period:
{
"timestamp": 1640995200000,
"open": 100.50,
"high": 105.25,
"low": 99.75,
"close": 104.80,
"volume": 1000000
}
Examples:
- Stock prices: Map OHLC fields from market data
- Crypto prices: Use exchange API data
- Forex rates: Currency pair price movements
Use Cases:
- Stock market analysis
- Cryptocurrency tracking
- Forex price visualization
- Technical analysis