The plot that represents a typical Spider chart.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart this plot belongs to. |
kwArgs | Object |
Optional An optional keyword arguments object to help define this plot's parameters. |
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).
Parameter | Type | Description |
---|---|---|
points | undefined | |
count | undefined | |
circle | undefined | |
radius | undefined | |
angle | undefined | |
recursive | undefined | |
dim | undefined |
Parameter | Type | Description |
---|---|---|
o | undefined |
Parameter | Type | Description |
---|---|---|
o | undefined | |
eventName | undefined |
Parameter | Type | Description |
---|---|---|
ts | undefined | |
osps | undefined | |
sps | undefined | |
f | undefined | |
sk | undefined | |
r | undefined | |
ro | undefined | |
ms | undefined | |
at | undefined |
Parameter | Type | Description |
---|---|---|
s | undefined | |
start | undefined | |
end | undefined | |
stroke | undefined |
Parameter | Type | Description |
---|---|---|
circle | undefined | |
radius | undefined | |
angle | undefined | |
dim | undefined |
Parameter | Type | Description |
---|---|---|
number | 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 |
---|---|---|
seriesName | undefined |
Parameter | Type | Description |
---|---|---|
fill | undefined | |
bbox | undefined |
Add a data series to this plot.
Parameter | Type | Description |
---|---|---|
run | dojox/charting/Series | The series to be added. |
A reference to this plot for functional chaining.
From an array of axes pick the ones that correspond to this plot and assign them to the plot using setAxis method.
Parameter | Type | Description |
---|---|---|
axes | Array | An array of dojox/charting/axis2d/Base |
Stub function for running the axis calculations (deprecated).
Parameter | Type | Description |
---|---|---|
dim | Object | An object of the form { width, height } |
A reference to this plot 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 of the information tied to this plot.
A reference to this plot for functional chaining.
Helper function to connect any object's method to our plotEvent.
Parameter | Type | Description |
---|---|---|
object | Object | The object to connect to. |
method | String | Function | The method to fire when our plotEvent is fired. |
The handle as returned from dojo.connect (see dojo.connect).
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.
Find out if any event handlers have been connected to our plotEvent.
A flag indicating that there are handlers attached.
Emulates firing an event for a given data value (specified by an index) of a given series.
Parameter | Type | Description |
---|---|---|
seriesName | String | Series name. |
eventName | String | Event name to emulate. |
index | Number | Valid data value index used to raise an event. |
eventObject | Object |
Optional Optional event object. Especially useful for synthetic events. Default: null. |
Get how many data series we have, so we know how many colors to use.
The number of colors needed.
Calculate the min/max on all attached series in both directions.
{hmin, hmax, vmin, vmax} min/max in both directions.
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 }
Returns whether or not any of this plot's data series need to be rendered.
Flag indicating if any of this plot's series are invalid and need rendering.
Stub function for use by specific plots.
Parameter | Type | Description |
---|---|---|
o | Object | An object intended to represent event parameters. |
Clear any elements out of our group, and destroy the group.
A reference to this object for functional chaining.
Raises events in predefined order
Parameter | Type | Description |
---|---|---|
o | Object | An object intended to represent event parameters. |
Render the plot on the chart.
Parameter | Type | Description |
---|---|---|
dim | Object | An object of the form { width, height }. |
offsets | Object | An object of the form { l, r, t, b }. |
A reference to this plot for functional chaining.
Parameter | Type | Description |
---|---|---|
group | undefined | |
x | undefined | |
y | undefined | |
label | undefined | |
theme | undefined | |
block | undefined | |
align | undefined |
Reset all events attached to our plotEvent (i.e. disconnect).
Optionally set axis min and max property.
Parameter | Type | Description |
---|---|---|
axis | undefined |
The reference to this plot for functional chaining.
Parameter | Type | Description |
---|---|---|
o | undefined |