New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-chartist

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-chartist - npm Package Compare versions

Comparing version 0.0.5 to 0.1.1

2

package.json
{
"name": "ember-cli-chartist",
"version": "0.0.5",
"version": "0.1.1",
"description": "Ember CLI Addon for Chartist.js",

@@ -5,0 +5,0 @@ "directories": {

@@ -11,3 +11,3 @@ # Chartist.js for Ember-CLI Projects

```
npm install --save ember-cli-chartist
npm install ember-cli-chartist --save-dev
```

@@ -65,2 +65,36 @@

### Chart configuration
Chartist charts have a whole bunch of cool configuration options. You can pass those to the `chartist-chart` components with the `options` attribute. You'll need to create the options object in a similar way as you do for the `data` attribute object.
```
{{chartist-chart options=chartOptions data=model.chartData}}
```
*/app/routes/application.js*
```javascript
import Ember from 'ember';
export default Ember.Route.extend({
model: function () {
return {
chartData: {
...
},
chartOptions: {
showArea: true,
lineSmooth: false,
axisX: {
showGrid: false
}
}
}
}
});
```
See the [Chartist docs](http://gionkunz.github.io/chartist-js/api-documentation.html) for all available config options. There's bunch of good-uns!
### Custom CSS

@@ -67,0 +101,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc