This library provides a suite of Ember helpers around the d3 scale library. Support for more features is ongoing.
Currently, there are no configuration options for this addon in config/environment.js. At the moment, this addon will add all the required d3 dependencies.
You can view a demo of a few ways to use these helpers here
export default Ember.Component.extend({
domain: [0, 10],
range: [0, 100]
});export default Ember.Component.extend({
domain: [
new Date(2016, 2, 1),
new Date(2016, 2, 31)
]
});Sequential color scale description.
Band scale description
Point Scale description
Categorical color scale.
Scale ticks
Get the calculated value from a scale
Immutable array helper description
A time interval helper.
git clonethis repositorynpm installbower install
ember server- Visit your app at http://localhost:4200.
npm test(Runsember try:testallto test your addon against multiple Ember versions)ember testember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.