Class: Highchart

Highchart

new Highchart()

The constructor.
Source:

Methods

(static) areaChart(options) → {*}

Chart via options object.
Parameters:
Name Type Description
options Object The options object.
Source:
Returns:
Type
*

(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) 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) barChart(options) → {*}

Chart via options object.
Parameters:
Name Type Description
options Object The options object.
Source:
Returns:
Type
*

(static) columnChart(options) → {*}

Chart via options object.
Parameters:
Name Type Description
options Object The options object.
Source:
Returns:
Type
*

(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) 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(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) pieChart(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:

(static) stackedBarChart(options) → {*}

Chart via options object.
Parameters:
Name Type Description
options Object The options object.
Source:
Returns:
Type
*

(private) _changeListener()

Handles changes to the collection data that the chart is reading from and then updates the data in the chart display.
Source:

(private) _hookEvents()

Hook the events the chart needs to know about from the internal collection.
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: