AxisType is an abstract class that manages the data for an axis.
_dataProviderChangeHandlere
Handles changes to dataProvider.
e
Object
Event object.
_getKeyArraykey
data
Gets an array of values based on a key.
_hasDataOverflowChecks to see if data extends beyond the range of the axis. If so, that data will need to be hidden. This method is internal, temporary and subject to removal in the future.
_keyChangeHandlere
Updates the Axis after a change in keys.
e
Object
Event object.
_setDataByKeykey
data
Sets data by key
_updateMinAndMaxCalculates the maximum and minimum values for the Axis.
_updateTotalDataUpdates the total data array.
addKeyvalue
Adds an array to the key hash.
value
Object
Indicates what key to use in retrieving the array.
bindUIgetDataByKeyvalue
Returns an array of values based on an identifier key.
value
String
value used to identify the array
getEdgeOffsetct
l
Gets the distance that the first and last ticks are offset from there respective edges.
getKeyValueAtkey
index
Returns a value based of a key value and an index.
getLabelByIndexi
l
Calculates and returns a value based on the number of labels and the index of the current label.
getMajorUnitDistancelen
uiLen
majorUnit
Returns the distance between major units on an axis.
getMaximumValueReturns a string corresponding to the last label on an axis.
getMinimumValueReturns a string corresponding to the first label on an axis.
getTotalMajorUnitsReturns the total number of majorUnits that will appear on an axis.
initializerremoveKeyvalue
Removes an array from the key hash.
value
String
Indicates what key to use in removing from the hash.
dataArray of axis data
dataChange
Fires when the value for the configuration attribute data 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
dataMaximumThe maximum value contained in the data array. Used for
maximum when autoMax is true.
dataMaximumChange
Fires when the value for the configuration attribute dataMaximum 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
dataMinimumThe minimum value contained in the data array. Used for
minimum when autoMin is true.
dataMinimumChange
Fires when the value for the configuration attribute dataMinimum 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
dataProviderInstance of ChartDataProvider that the class uses
to build its own data.
dataProviderChange
Fires when the value for the configuration attribute dataProvider 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
keyCollectionArray containing all the keys in the axis.
keyCollectionChange
Fires when the value for the configuration attribute keyCollection 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
keysHash of array identifed by a string value.
keysChange
Fires when the value for the configuration attribute keys 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.
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.
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
roundingMethodIndicates how to round unit values.
Default: niceNumber
roundingMethodChange
Fires when the value for the configuration attribute roundingMethod 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
setMaxDetermines whether the maximum is calculated or explicitly set by the user.
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
setMinDetermines whether the minimum is calculated or explicitly set by the user.
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
typeReturns the type of axis data
typeChange
Fires when the value for the configuration attribute type 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