EliteChartProps
Documentation / @elitechart/elitechart / EliteChartProps
Defined in: elitechart/src/types.ts:49
Public props for <EliteChart />. All fields are optional; defaults
give a usable BTCUSD / 1h / candle chart out of the box.
Example
Properties
children?
Defined in: elitechart/src/types.ts:70
Slot — rendered inside the workspace shell, above the chart. Use for custom branding or announcements.
className?
Defined in: elitechart/src/types.ts:63
Class applied to the outer workspace container.
kind?
Defined in: elitechart/src/types.ts:55
Initial chart kind. Defaults to 'candle'.
onReady?
Defined in: elitechart/src/types.ts:61
Lifecycle hook fired once the chart has mounted and the handle is live. Use this to attach custom event listeners, seed drawings, or sync your own app state.
Returns
void
style?
Defined in: elitechart/src/types.ts:65
Inline style for the outer workspace container.
symbol?
Defined in: elitechart/src/types.ts:51
Initial ticker symbol. Defaults to the first mock symbol.
timeframe?
Defined in: elitechart/src/types.ts:53
Initial timeframe. Defaults to '1h'.