Skip to content

charton API


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

Interface: ValuesAt ​

Defined in: packages/core/src/chart.ts:1254

Every series' value at one bar, as chart.valuesAt returns it: the bar's time and index, the formatted time and a row per series.

Properties ​

group? ​

optional group?: object

Defined in: packages/core/src/chart.ts:1266

While the view groups bars (grouping): the bucket holding the bar, from its first bar's time to its last bar's endTime, count bars. The legend values are the bucket's. Absent otherwise.

count ​

count: number

endTime ​

endTime: number

time ​

time: number


index ​

index: number

Defined in: packages/core/src/chart.ts:1259


series ​

series: SeriesValue[]

Defined in: packages/core/src/chart.ts:1260


source? ​

optional source?: object

Defined in: packages/core/src/chart.ts:1272

When the main series' bar carries startTime and endTime (a PriceBar): the source bars it covers, from time to endTime. timeText shows the span. Absent otherwise, and while grouping.

endTime ​

endTime: number

time ​

time: number


time ​

time: number

Defined in: packages/core/src/chart.ts:1256

Time of the bar the values belong to.


timeText ​

timeText: string

Defined in: packages/core/src/chart.ts:1258

time formatted like the crosshair time label.