Enumeration EOptionFlagsConst

An enum containing various bit flags for generic purposed Bits 1-16 are reserved by ChartBreaker; applications may use all aditional bits

Currently used for =

  • the flags attribute in all options of BG.charts.Object
  • the flags property in all descriptors used with the BG.charts.set* methods (e.g. BG.charts.setLoader)

Enumeration Members

COLOR_BORDER: 16

color is used for stroking borders

COLOR_FILL: 64

color is used for filling areas

COLOR_PRIMARY: 256

option is used as primary color for the object multiple options can have this flag; depending on the tools implementation, one of them can be chosen dynamically

COLOR_STROKE: 32

color is used for stroking lines

DISABLED: 1024

option is disabled; ui should not allow the user to modify it reasons can optionally be specified in the 'hint' attribute of the option

ENUM_LINESTYLE: 8

option is a line style (normal / dashed / dotted) enumeration

ENUM_LINEWIDTH: 4

option is a line width enumeration (width in pixels)

ENUM_TEXTSTYLE: 128

option is a text style (normal / italic / bold) enumeration

EPHEMERAL: 512

option is ephemeral; it will not be serialized

EXPOSED: 1

exposed to ui; e.g. if this flag is set for an option, the UI may allow modification of the option by the user

NO_INVALIDATE: 2

no recalculation neccessary; e.g. if this flag is set for an option on an indicator, ChartBreaker knows that the indicator does not have to be recalculated when the option changes

NO_RECALCULATE: 2

DEPRECATED; use NO_INVALIDATE instead

NONE: 0

no flags

POSITION: 256

option influences object position

SILENT: 2048

option is silent; no change events will be fired with this flag set