TimeAxis manages time data on an axis.
_getKeyArraykey
data
Gets an array of values based on a key.
_getNumberval
Parses value into a number.
val
Object
Value to parse into a number
_setDataByKeykey
data
Sets data by key
formatLabelvalue
format
Formats a label based on the axis type and optionally specified format.
_dataTypeType of data used in Axis.
labelFormatPattern used by the labelFunction to format a label.
labelFormatChange
Fires when the value for the configuration attribute labelFormat 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.
e
EventFacade
labelFunctionMethod used for formatting a label. This attribute allows for the default label formatting method to overridden. The method use would need
to implement the arguments below and return a String or an HTMLElement. The default implementation of the method returns a String. The output of this method
will be rendered to the DOM using appendChild. If you override the labelFunction method and return an html string, you will also need to override the Axis'
appendLabelFunction to accept html as a String.
String)labelFunctionChange
Fires when the value for the configuration attribute labelFunction 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.
e
EventFacade
maximumThe maximum value that will appear on an axis. Unless explicitly set, this value is calculated by the Axis.
maximumChange
Fires when the value for the configuration attribute maximum 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.
e
EventFacade
minimumThe minimum value that will appear on an axis. Unless explicitly set, this value is calculated by the Axis.
minimumChange
Fires when the value for the configuration attribute minimum 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.
e
EventFacade
setMaxIndicates whether the maximum is calculated or explicitly set.
setMaxChange
Fires when the value for the configuration attribute setMax 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.
e
EventFacade
setMinIndicates whether the minimum is calculated or explicitly set.
setMinChange
Fires when the value for the configuration attribute setMin 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.
e
EventFacade