Events: {
    boundsChanged: () => void;
    contextMenu: (
        event: Event | null,
        point: Point,
        objects: BG.charts.Object[],
        chart: BG.charts.Chart,
    ) => void;
    doubleClicked: (
        event: Event | null,
        point: Point,
        object: BG.charts.Object,
    ) => void;
    legendHovered: (hovered: boolean | null | BG.charts.LegendEntry) => void;
    objectHovered: (object: null | BG.charts.Object) => void;
    objectsHighlighted: (objects: BG.charts.Object[] | null) => void;
    orderedObjects: () => void;
    scaleAdded: (scale: BG.charts.Scale) => void;
    scaleRemoved: (scale: BG.charts.Scale) => void;
    toolAdded: (tool: BG.charts.Tool) => void;
}

Type declaration

  • boundsChanged: () => void

    Fired when bounds of any scale in the chart changed

  • contextMenu: (
        event: Event | null,
        point: Point,
        objects: BG.charts.Object[],
        chart: BG.charts.Chart,
    ) => void

    Fired when a context menu for one or more objects should be displayed

  • doubleClicked: (event: Event | null, point: Point, object: BG.charts.Object) => void

    Fired when an object was double clicked

  • legendHovered: (hovered: boolean | null | BG.charts.LegendEntry) => void

    Fired when a legend entry was hovered

  • objectHovered: (object: null | BG.charts.Object) => void

    TODO:

  • objectsHighlighted: (objects: BG.charts.Object[] | null) => void

    Fired when objects were highlighted

  • orderedObjects: () => void

    Fired when objects where reordered

  • scaleAdded: (scale: BG.charts.Scale) => void

    Fired when a scale was added

  • scaleRemoved: (scale: BG.charts.Scale) => void

    Fired when a scale was removed

  • toolAdded: (tool: BG.charts.Tool) => void

    TODO: