Chartbreaker
    Preparing search index...

    Enumeration EChangeFlagsConst

    An enum containing various bit flags about state changes used by the changed event on BG.charts.Controller

    Index

    Enumeration Members

    CONFIG: 4

    actual state changed (contained objects, object options, etc) only set if the respective object is non-ephemeral

    CONFIG_EPHEMERAL: 8

    set if the object that triggered a change is ephemeral (e.g. a generator, or a generated tool) basically if this flag is set, the output of serialize will NOT change

    DATA: 1

    displayed data changed

    ERROR: 256

    the primary error of an object changed e.g. a toolgenerator finished loading and added an error

    ERRORS: 512

    the errors of an object changed if the previous flag is set, this one will also always be set; but not vice versa e.g. an object that already had an error encountered a second one

    LOADING: 128

    loading state of an object changed e.g. a toolgenerator started or finished loading

    NONE: 0

    no changes

    OBJECT_TREE_CHANGED: 1024

    changes to the object tree e.g. an object is added or removed from the object tree, or moved within the object tree

    OPTIONS: 64

    available options of an object changed e.g. new options are available, options were removed, attributes of an option changed NOTE = this is NOT about the values of options; those are handled by the CONFIG flag

    VIEWPORT: 2

    viewport configuration changed e.g. the range of the visible data was adjusted because the user scrolled manually, or the zoom function was called, or the configuration of a scale changed, etc

    VIEWPORT_RATIO: 32

    set if the viewport ratio changed if the complete controller is resized (controller.set('height',x) all contained charts are proportionally resized as well; in this case their "size ratios" stay the same however, if only one or two charts were resized (manually by the user, or by calling chart.set('height', x), the ratios change; the event will only be set in these cases

    VIEWPORT_SIZE: 16

    set if the viewport size changed e.g. if the complete controller along with all charts was resized, or if only individual charts were resized