Methods
- (static) areaChart(selector, seriesField, keyField, valField, options)
- (static) areaChart(options) → {*}
- (static) barChart(options) → {*}
- (static) barChart(selector, seriesField, keyField, valField, options)
- (static) columnChart(selector, seriesField, keyField, valField, options)
- (static) columnChart(options) → {*}
- (static) lineChart(selector) → {*}
- (static) lineChart(options) → {*}
- (static) lineChart(selector, seriesField, keyField, valField, options)
- (static) pieChart(options) → {*}
- (static) pieChart(selector, keyField, valField, seriesName, options)
- (static) stackedBarChart(options) → {*}
- (static) stackedBarChart(selector, seriesField, keyField, valField, options)
- drop() → {Boolean}
- pieDataFromCollectionData(data, keyField, valField) → {Array}
- seriesDataFromCollectionData(seriesField, keyField, valField, orderBy)
(static) areaChart(selector, seriesField, keyField, valField, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
seriesField |
String | The name of the series to plot. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
options |
Object | The options object. |
- Source:
(static) areaChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) barChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) barChart(selector, seriesField, keyField, valField, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
seriesField |
String | The name of the series to plot. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
options |
Object | The options object. |
- Source:
(static) columnChart(selector, seriesField, keyField, valField, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
seriesField |
String | The name of the series to plot. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
options |
Object | The options object. |
- Source:
(static) columnChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) lineChart(selector) → {*}
Chart via selector.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | The chart selector. |
- Source:
Returns:
- Type
- *
(static) lineChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) lineChart(selector, seriesField, keyField, valField, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
seriesField |
String | The name of the series to plot. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
options |
Object | The options object. |
- Source:
(static) pieChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) pieChart(selector, keyField, valField, seriesName, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
seriesName |
String | The name of the series to display on the chart. |
options |
Object | The options object. |
- Source:
(static) stackedBarChart(options) → {*}
Chart via options object.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | The options object. |
- Source:
Returns:
- Type
- *
(static) stackedBarChart(selector, seriesField, keyField, valField, options)
Chart via defined params and an options object.
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
String | jQuery | The element to render the chart to. |
seriesField |
String | The name of the series to plot. |
keyField |
String | The field to use as the data key. |
valField |
String | The field to use as the data value. |
options |
Object | The options object. |
- Source:
drop() → {Boolean}
Destroys the chart and all internal references.
- Source:
Returns:
- Type
- Boolean
pieDataFromCollectionData(data, keyField, valField) → {Array}
Generate pie-chart series data from the given collection data array.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
||
keyField |
||
valField |
- Source:
Returns:
- Type
- Array
seriesDataFromCollectionData(seriesField, keyField, valField, orderBy)
Generate line-chart series data from the given collection data array.
Parameters:
| Name | Type | Description |
|---|---|---|
seriesField |
||
keyField |
||
valField |
||
orderBy |
- Source: