An object representing a series of data for plotting on a chart.
Parameter | Type | Description |
---|---|---|
chart | dojox/charting/Chart | The chart that this series belongs to. |
data | Array | Object | The array of data points (either numbers or objects) that represents the data to be drawn. Or it can be an object. In the latter case, it should have a property "data" (an array), destroy(), and setSeriesObject(). |
kwArgs | Object |
Optional An optional keyword arguments object to set details for this series. |
See the dojox/charting/Series reference documentation for more information.
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 |
---|---|---|
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 |
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 the calculated additional parameters set on this series.
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.
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 }
Clear any elements out of our group, and destroy the group.
A reference to this object for functional chaining.
Set data and make this object dirty, so it can be redrawn.
Parameter | Type | Description |
---|---|---|
data | Array | Object | The array of data points (either numbers or objects) that represents the data to be drawn. Or it can be an object. In the latter case, it should have a property "data" (an array), destroy(), and setSeriesObject(). |