Chartbreaker
    Preparing search index...

    Type Alias Events

    type 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;
    }
    Index

    Properties

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

    Fired when the an attribute of a config option changes

    Type declaration

      • (optionName: string, attributeName: string, oldValue: any, newValue: any): void
      • Parameters

        • optionName: string
        • attributeName: string
        • oldValue: any

          the previous value

        • newValue: any

          the new value

        Returns void

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

    Fired when a config option changes

    Type declaration

      • (optionName: string, oldValue?: any, newValue?: any): void
      • Parameters

        • optionName: string
        • OptionaloldValue: any

          the previous value

        • OptionalnewValue: any

          the new value

        Returns void

    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

    Type declaration