Skip to content

charton API


charton API / @chart-on/core / index / SessionLane

Interface: SessionLane ​

Defined in: packages/core/src/session-bands.ts:26

One named market session, such as a region's trading hours.

Properties ​

color ​

color: string

Defined in: packages/core/src/session-bands.ts:36

Band or column colour (any CSS colour).


hours ​

hours: SessionSchedule

Defined in: packages/core/src/session-bands.ts:34

Opening hours as wall-clock times in timezone, so they follow its daylight saving changes.


id ​

id: string

Defined in: packages/core/src/session-bands.ts:28

Unique within the bands; used to update or remove the lane.


name ​

name: string

Defined in: packages/core/src/session-bands.ts:30

Shown in the UI's session chip.


timezone ​

timezone: string

Defined in: packages/core/src/session-bands.ts:32

IANA timezone the hours are in, e.g. 'Europe/London'.