charton API / @chart-on/core / index / BarSpan
Interface: BarSpan
Defined in: packages/core/src/drawing/types.ts:97
The main series bars a data-aware tool reads, without copying: bars is the series' own array, and [start, end) the indices of the bars asked for. Read it only during the call and never change it. The array stays the same object while live bars update or append, and is replaced when the data is reloaded or history is prepended, so tools can cache results on it.
Properties
bars
readonlybars: readonlyReadonly<Bar>[]
Defined in: packages/core/src/drawing/types.ts:98
end
readonlyend:number
Defined in: packages/core/src/drawing/types.ts:100
start
readonlystart:number
Defined in: packages/core/src/drawing/types.ts:99