github.com/grafana/pyroscope@v1.18.0/public/app/components/TimelineChart/Tooltip.plugin.ts (about)

     1  // TooltipCallbackProps refers to the data available for the tooltip body construction
     2  export interface TooltipCallbackProps {
     3    timeLabel: string;
     4    values: Array<{
     5      closest: number[];
     6      color: number[];
     7      // TODO: remove this
     8      tagName: string;
     9    }>;
    10    coordsToCanvasPos?: any;
    11    canvasX?: number;
    12  }