https://github.com/movableink/ember-bar-chart
A simple, declarative Ember component for rendering SVG bar charts
https://github.com/movableink/ember-bar-chart
Last synced: 3 months ago
JSON representation
A simple, declarative Ember component for rendering SVG bar charts
- Host: GitHub
- URL: https://github.com/movableink/ember-bar-chart
- Owner: movableink
- License: mit
- Created: 2020-05-14T15:21:37.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T20:28:01.000Z (about 5 years ago)
- Last Synced: 2025-03-02T00:46:20.707Z (4 months ago)
- Language: JavaScript
- Homepage: https://movableink.github.io/ember-bar-chart
- Size: 1.37 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# @movable/ember-bar-chart
A simple, declarative Ember component for rendering SVG bar charts.
## Compatibility
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above## Installation
```
ember install @movable/ember-bar-chart
```## Usage
This addon provides a `BarChart` component for rendering a horizontal bar chart.
```handlebars
```
The longest bar will fill the entire width of the chart. All others are given a width based on their `@value` relative to the longest bar.
For more complex use-cases, see the documentation site.
## Contributing
See the [Contributing](CONTRIBUTING.md) guide for details.
## License
This project is licensed under the [MIT License](LICENSE.md).