CategoryAxis Class
CategoryAxis manages category data on an axis.
Item Index
Methods
Methods
_getKeyArray
-
key
-
data
Gets an array of values based on a key.
Parameters:
Returns:
_setDataByKey
-
key
-
data
Sets data by key
_updateMinAndMax
()
private
Calculates the maximum and minimum values for the Axis
.
formatLabel
-
value
-
format
Formats a label based on the axis type and optionally specified format.
Returns:
getDataByKey
-
value
Returns an array of values based on an identifier key.
Parameters:
-
value
Stringvalue used to identify the array
Returns:
getEdgeOffset
-
ct
-
l
Gets the distance that the first and last ticks are offset from there respective edges.
Returns:
getKeyValueAt
-
key
-
index
Returns a value based of a key value and an index.
Returns:
getLabelByIndex
-
i
-
l
Calculates and returns a value based on the number of labels and the index of the current label.
Returns:
getMajorUnitDistance
-
len
-
uiLen
-
majorUnit
Returns the distance between major units on an axis.
Parameters:
Returns:
getMaximumValue
()
Returns a string corresponding to the last label on an axis.
Returns:
getMinimumValue
()
Returns a string corresponding to the first label on an axis.
Returns:
Properties
_dataType
Unknown
private
Type of data used in Axis
.
_indices
Unknown
private
Object storing key data.