0.5.0 • Published 7 years ago

ember-cli-piechart v0.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

ember-cli-piechart

This README outlines the details of collaborating on this Ember addon.

Usage

ember install ember-cli-piechart

{{pie-chart data=model height=100 width=100}}

where data is an array of {"value", "color"}. height and width of canvas is optional.

A valid data might look like this:

var data = [
  {"value": 1, "color": "red"},
  {"value": 4.5, "color": "blue"},
  {"value": 2, "color": "yellow"},
  {"value": 3, "color": "green"}
];

which will render a pie chart in a canvas like this:

ember-cli-piechart

Development

Installation

  • git clone <repository-url> this repository
  • cd ember-cli-piechart
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://ember-cli.com/.

0.5.0

7 years ago

0.4.3-pre.0

7 years ago

0.4.2

8 years ago

0.4.0

8 years ago

0.3.3-pre.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.2.0-0

8 years ago

0.1.0

8 years ago