Corporate events
Dividend + split markers — render below the time axis, snap to bars, surface metadata in tooltips.
A corporate event is anything outside the price stream that affects the security — dividends, stock splits, mergers, ticker renames. The chart paints these as small markers below the time axis, hover-tooltipped with the event details.
Quick example
How it works
Events are sourced from the datafeed, not the chart. Your
Datafeed returns them on demand from a method that ships in Phase
1b — getEvents(symbol, from, to). EliteChart keeps a per-symbol
cache; on a viewport change it requests the slice it doesn't already
have.
Markers paint below the time axis at the bar matching the event's timestamp. Hover (or focus + arrow) opens a tooltip with the event's fields.
Event shapes
Variations
Hide markers but keep them in store
Filter by kind
API
| Action | Method |
|---|---|
| Set events | useChartStore.setEvents(events) |
| Toggle visible | useChartStore.setEventsVisible(bool) |
| Filter | useChartStore.setEventFilter(kinds) |
| Datafeed source | Datafeed.getEvents(symbol, from, to) |