Skip to content

charton API


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

Interface: RangeRequest ​

Defined in: packages/core/src/data/types.ts:159

A time range the chart asks a data source about, other than bars: from inclusive, to exclusive, like BarsRequest, and a signal. A request object rather than positional arguments, so lookups read like history and can gain fields without breaking sources.

Properties ​

from ​

from: number

Defined in: packages/core/src/data/types.ts:161

Earliest time wanted (inclusive).


signal ​

signal: AbortSignal

Defined in: packages/core/src/data/types.ts:165

Aborted when the answer is no longer needed (symbol or interval switch, the chart destroyed).


to ​

to: number

Defined in: packages/core/src/data/types.ts:163

Times strictly before this.