Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.29 KB

README.md

File metadata and controls

58 lines (41 loc) · 1.29 KB

ember-simple-charts

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

Simple charts for ember apps

Compatibility

  • Ember.js v4.12 or above
  • Ember CLI v4.12 or above
  • Node.js v18 or above

Installation

ember install ember-simple-charts

Usage

Data Provider

import Controller from '@ember/controller';

export default class ChartController extends Controller {
  donutData = [
    {
      label: 'Super Cool',
      data: 100,
      description: 'Lorem Ipsum'
    },
    {
      label: 'Very Cool',
      data: 200,
      description: 'Long text description here.'
    },
  ];
};

Template:

  <SimpleChart @name='donut' @data={{this.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.