Module: addon/components/sl-chart

Extends

  • ember/Component

Members

(inner, nullable) chart :Object

The highchart instantiation

Type:
  • Object
Default Value:
  • null
Source:

(inner) classNameBindings :Array.<String>

Type:
  • Array.<String>
Source:

(inner) classNames :Array.<String>

Type:
  • Array.<String>
Source:

(inner) height :String

Height value used for inline style

Type:
  • String
Default Value:
  • 'auto'
Source:

(inner) isLoading :Boolean

When true, the chart's panel body will be in a loading state

Type:
  • Boolean
Default Value:
  • false
Source:

(inner) layout :Object

Type:
  • Object
Source:

(inner, nullable) series :Array.<Object>

The collection of series data for the chart

Type:
  • Array.<Object>
Default Value:
  • null
Source:

(inner) width :Number|String

Width value used for inline style

Type:
  • Number | String
Default Value:
  • 'auto'
Source:

Methods

(inner) highchartsOptions() → {Object}

Options for Highcharts

Source:
Returns:
Type
Object

(inner) initialize() → {undefined}

Check passed parameters on initialization

Source:
Listens to Events:
  • event:init
Throws:
  • Series property must be an Array

    Type
    ember.assert
  • Options property must be an Object

    Type
    ember.assert
Returns:
Type
undefined

(inner) setupChart() → {undefined}

Sets up Highcharts initialization

Source:
Listens to Events:
  • event:didInsertElement
Returns:
Type
undefined

(inner) style() → {String}

Inline style containing height and width, required by Highcharts

Source:
Observes:
  • height, width
Returns:
Type
String

(inner) updateData() → {undefined}

Updates the chart's series data

Source:
Observes:
  • series
Returns:
Type
undefined