Skip to main content

Interface: TickDetails

Details about the current chart tick state, passed to event callbacks.

See

https://racing-bars.hatemhosny.dev/documentation/events

Properties

allDates

allDates: string[]

Array of all unique dates in the dataset, sorted ascending.

Defined in

lib/events/models.ts:16


date

date: string

The current date as a 'YYYY-MM-DD' string.

Defined in

lib/events/models.ts:8


isFirstDate

isFirstDate: boolean

true if the current date is the first date in the dataset.

Defined in

lib/events/models.ts:10


isLastDate

isLastDate: boolean

true if the current date is the last date in the dataset.

Defined in

lib/events/models.ts:12


isRunning

isRunning: boolean

true if the chart is currently animating.

Defined in

lib/events/models.ts:14