A axis object used in dojox.charting. You can use that axis if you want the axis to be invisible. 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. |
The default parameters used to define any axis.
A flag indicating whether or not this element needs to be rendered.
Any DOMNodes used as a part of this element (such as HTML-based labels).
Any optional parameters needed to define an axis.
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 |
Perform all calculations needed to render this axis.
Parameter | Type | Description |
---|---|---|
min | Number | The smallest value represented on this axis. |
max | Number | The largest value represented on this axis. |
span | Number | The span in pixels over which axis calculations are made. |
The reference to the axis for functional chaining.
Clean any elements (HTML or GFX-based) out of our group, and create a new one.
Parameter | Type | Description |
---|---|---|
creator | dojox/gfx/shape.Surface |
Optional An optional surface to work with. |
A reference to this object for functional chaining.
Clear out all calculated properties on this axis;
The reference to the axis for functional chaining.
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.
A stub function to return any offsets needed for axis and series rendering.
An object of the form { l, r, t, b }.
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.
Clear any elements out of our group, and destroy the group.
A reference to this object for functional chaining.
Stub function to render this axis.
Parameter | Type | Description |
---|---|---|
dim | undefined | |
offsets | undefined |
A 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.