API REFERENCE
session
Candlestick (): the exchange session the labels read — 24x7, us-equity, or a JSON object { timezone, sessions, holidays, closedWeekdays }.
Definition
| Item | Value |
|---|---|
| JavaScript property | session |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | CandlestickSessionInput | string |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CandlestickSessionInput
Type definition
Configuration example
// Register sy-stock-chart and create the element before configuring it.
chart.session = "24x7";