The default axis object used in dojox.charting. See dojox.charting.Chart.addAxis for details.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart the axis belongs to. |
kwArgs | Object |
Optional Any optional keyword arguments to be used to define this axis. |
Any DOMNodes used as a part of this element (such as HTML-based labels).
The actual options used to define this axis, created at initialization.
Parameter | Type | Description |
---|---|---|
min | undefined | |
max | undefined | |
span | undefined | |
rotation | undefined | |
font | undefined | |
size | undefined |
Parameter | Type | Description |
---|---|---|
labels | undefined | |
font | undefined | |
wcLimit | undefined |
Parameter | Type | Description |
---|---|---|
fill | undefined | |
dim | undefined | |
offsets | undefined |
Parameter | Type | Description |
---|---|---|
fill | undefined | |
center | undefined | |
radius | undefined | |
start | undefined | |
end | undefined |
Parameter | Type | Description |
---|---|---|
fill | undefined | |
bbox | undefined |
Parameter | Type | Description |
---|---|---|
min | undefined | |
max | undefined | |
span | undefined |
Parameter | Type | Description |
---|---|---|
creator | undefined |
Clear out all calculated properties on this axis;
The reference to the axis for functional chaining.
Parameter | Type | Description |
---|---|---|
creator | undefined | |
params | undefined |
Parameter | Type | Description |
---|---|---|
labelType | undefined | |
creator | undefined | |
x | undefined | |
y | undefined | |
align | undefined | |
textContent | undefined | |
font | undefined | |
fontColor | undefined | |
labelWidth | undefined |
Find out whether or not the axis options depend on the data in the axis.
API addition to conform to the rest of the Dojo Toolkit's standard.
Destroy any DOMNodes that may have been created as a part of this element.
Get the physical offset values for this axis (used in drawing data series). This method is not supposed to be called by the users but internally.
The calculated offsets in the form of { l, r, t, b } (left, right, top, bottom).
Parameter | Type | Description |
---|---|---|
s | undefined | |
font | undefined |
Get the truncated string based on the limited character count(dichotomy algorithm)
Parameter | Type | Description |
---|---|---|
s | String |
Optional candidate text. |
font | String |
Optional text's font style. |
wcLimit | Number |
Optional text limited character count. |
truncated | Boolean |
Optional whether the input text(s) has already been truncated. |
{ text: processed text, maybe truncated or not, truncated: whether text has been truncated }
Get the truncated string based on the limited width in px(dichotomy algorithm)
Parameter | Type | Description |
---|---|---|
s | String |
Optional candidate text. |
font | String |
Optional text's font style. |
limitWidth | Number |
Optional text limited width in px. |
truncated | Boolean |
Optional whether the input text(s) has already been truncated. |
{ text: processed text, maybe truncated or not, truncated: whether text has been truncated }
Get the current windowing offset for the axis.
Get the current windowing scale of the axis.
Finds out if this axis has been initialized or not.
Whether a scaler has been calculated and if the axis is not dirty.
Parameter | Type | Description |
---|---|---|
elem | undefined | |
chart | undefined | |
label | undefined | |
truncatedLabel | undefined | |
font | undefined | |
elemType | undefined |
Clear any elements out of our group, and destroy the group.
A reference to this object for functional chaining.
Render/draw the axis.
Parameter | Type | Description |
---|---|---|
dim | Object | An object of the form { width, height}. |
offsets | Object | An object of the form { l, r, t, b }. |
The reference to the axis for functional chaining.
Set the drawing "window" for the axis.
Parameter | Type | Description |
---|---|---|
scale | Number | The new scale for the axis. |
offset | Number | The new offset for the axis. |
The reference to the axis for functional chaining.