ScriptedChartClickEventData: {
    event: Omit<PlotDatum, "xaxis" | "yaxis">[];
    graphIndex: number;
} & DashboardItemEventData

Type declaration

  • event: Omit<PlotDatum, "xaxis" | "yaxis">[]

    The click event from plotly

  • graphIndex: number

    The index of the graph that was clicked