Home

Awesome

Ember Chart

CI Ember Observer Score

This Ember CLI addon is a simple wrapper for ChartJS (v3.5).

Compatibility

Installation

$ ember install ember-cli-chart

Usage

In your handlebars template just do:

<EmberChart
  @type={{CHARTTYPE}}
  @data={{CHARTDATA}}
  @options={{CHARTOPTIONS}}
  @width={{CHARTWIDTH}}
  @height={{CHARTHEIGHT}}
  @plugins={{CHARTPLUGINS}}
  @customLegendElement={{CUSTOMLEGENDELEMENT}}
/>

Example

<EmberChart @type="pie" @data={{model.chartData}} @width={{200}} @height={{200}} />

More Resources