Renderer Class
The Renderer class is a base class for chart components that use the styles
attribute.
Item Index
Properties
Methods
_copyObject
-
obj
Copies an object literal.
Parameters:
-
objObjectObject literal to be copied.
Returns:
Object
_getDefaultStyles
()
protected
Gets the default value for the styles attribute.
Returns:
Object
_mergeStyles
-
a -
b
Merges to object literals so that only specified properties are overwritten.
Returns:
Object
_setStyles
-
newStyles
Method used by styles setter.
Parameters:
-
newStylesObjectHash of properties to update.
Returns:
Object
Properties
Attributes
graphic
Graphic
The graphic in which drawings will be rendered.
Fires event graphicChange
Fires when the value for the configuration attribute graphic is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
eEventFacadeAn Event Facade object with the following attribute-specific properties added:
styles
Object
Style properties for class
Fires event stylesChange
Fires when the value for the configuration attribute styles is
changed. You can listen for the event using the on method if you
wish to be notified before the attribute's value has changed, or
using the after method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
eEventFacadeAn Event Facade object with the following attribute-specific properties added:
