Interface EventDetailsPopupOptions

interface EventDetailsPopupOptions {
    actions?: (event: ChartEvent) => readonly EventDetailAction[];
    formatTime?: (time: number) => string;
    injectStyles?: boolean;
    labels?: Partial<EventDetailsLabels>;
    loadDetails?: EventDetailsLoader;
    overlays?: OverlayStack;
    styleNonce?: string;
}

Properties

actions?: (event: ChartEvent) => readonly EventDetailAction[]

The buttons for an event, asked each time one is shown. None by default.

formatTime?: (time: number) => string

Receives the original UTC timestamp in seconds. Defaults to Asia/Kolkata.

injectStyles?: boolean

Set false when the host already includes EVENT_DETAILS_CSS.

labels?: Partial<EventDetailsLabels>
loadDetails?: EventDetailsLoader

Host-owned lookup. No request is made unless a loader is supplied.

overlays?: OverlayStack

Pass the widget context's stack to share focus, Escape and shortcut handling.

styleNonce?: string