Documentation / @finchart/core / index / XDomainChangePayload
Interface: XDomainChangePayload
Defined in: packages/core/src/plot/events.ts:40
The visible x range changed.
The y domain isn't reported — that follows the series, it isn't something the user moved.
Properties
dataRange
dataRange:
Range|null
Defined in: packages/core/src/plot/events.ts:52
The x range of the data held. The reference for measuring closeness to the end. null if there's no data.
endX
endX:
number
Defined in: packages/core/src/plot/events.ts:47
startX
startX:
number
Defined in: packages/core/src/plot/events.ts:46
The range currently visible, in data x. Not an index even in bar-index coordinates — it has to share units with dataRange so a subscriber can measure "how close to the end."