Events: {
    attrChanged: (
        optionName: string,
        attributeName: string,
        oldValue: any,
        newValue: any,
    ) => void;
    optionChanged: (optionName: string, oldValue?: any, newValue?: any) => void;
    optionsModified: () => void;
    stateChanged: (
        state: BG.charts.Object.State,
        flags: BG.charts.Object.State.EFlags,
    ) => void;
}

Type declaration

  • attrChanged: (
        optionName: string,
        attributeName: string,
        oldValue: any,
        newValue: any,
    ) => void

    Fired when the an attribute of a config option changes

  • optionChanged: (optionName: string, oldValue?: any, newValue?: any) => void

    Fired when a config option changes

  • optionsModified: () => void

    Fired when config options changed

  • stateChanged: (state: BG.charts.Object.State, flags: BG.charts.Object.State.EFlags) => void

    Fired when the state of the object changed