ember-simple-charts

11.1.2 • Public • Published

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.8 or above
  • Ember CLI v4.4 or above
  • Node.js v16 or above

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.

Dependents (1)

Package Sidebar

Install

npm i ember-simple-charts

Weekly Downloads

221

Version

11.1.2

License

MIT

Unpacked Size

44.4 kB

Total Files

40

Last publish

Collaborators

  • thecoolestguy
  • jrjohnson
  • stopfstedt
  • zorgbort