Private
#privateregister a clazz with ChartBreaker
returns false if a clazz with the specified type
is already registered,
or if an invalid descriptor is provided
previous registration can NOT be updated
provide translations for a specific language to ChartBreaker
the language code as used in a locale (e.g. 'de' or 'en')
an object containing translations in the format expected by BG.locale.Translator
unregister a clazz from ChartBreaker clazz needs to have been previously registered via BG.charts.setClazz
reference to the registered clazz
adds a listener to the end of the listeners array for the specified event.
execute each of the listeners in order with the supplied parameters.
returns an array of listeners for the specified event.
alias for addListener
adds a one time listener for the event. This listener is invoked only the next time the event is fired, after which it is removed.
Optional
type: Typeremoves all listeners, or those of the specified event.
remove a listener from the listener array for the specified event.
by default EventEmitters will print a warning if more than 10 listeners are added for a particular event. This is a useful default which helps finding memory leaks. Obviously not all Emitters should be limited to 10. This function allows that limit to be increased. Set to zero for unlimited.
Static
guardStatic
listenerStatic
set
the main namespace of all javascript stock3 AG javascript libraries.
includes the chartbreaker library in BG.charts as well as dependencies like BG.events.EventEmitter, BG.locale, and BG.clazz the main namespace of the ChartBreaker library
includes all classes of ChartBreaker distributed over several sub namespaces some global events are available directly on the namespace object itself