ilios / ember-simple-charts

Some easy to use charts made with ember and D3
https://ember-simple-charts.netlify.app/
Other
5 stars 7 forks source link

ember-simple-charts

Continuous Integration This project is using Percy.io for visual regression testing. Netlify Status

Simple charts for ember apps

Compatibility

Installation

ember install ember-simple-charts

Usage

Data Provider

import Ember from 'ember';

const { Controller } = Ember;

export default Controller.extend({
  donutData: [
    {
      label: 'Super Cool',
      data: 100,
      description: 'Lorem Ipsum'
    },
    {
      label: 'Very Cool',
      data: 200,
      description: 'Long text description here.'
    },
  ],
});

Template:

  {{simple-chart height=250 width=250 name='donut' data=donutData}}

More examples can be found in this addons dummy application.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.