This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiEventsCanvas

EventsCanvas() function

EventsCanvas() function

Signature

export declare function EventsCanvas({ id, events, renderEventMarker, mapEventToXYCoords, config }: EventsCanvasProps): JSX.Element | null;

Import

import { EventsCanvas } from '@grafana/ui';

Parameters

Parameter Type Description
{ id, events, renderEventMarker, mapEventToXYCoords, config } EventsCanvasProps

Returns:

JSX.Element | null