vue-chart-js
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "vue-chart-js", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Chart.js for VueJs.", | ||
@@ -22,3 +22,6 @@ "author": "Kevin Ongko", | ||
"homepage": "https://github.com/kevinongko/vue-chart-js#readme", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"dependencies": { | ||
"chart.js": "^2.6.0" | ||
} | ||
} |
# vue-chart-js | ||
[![npm version](https://badge.fury.io/js/vue-chart-js.svg)](https://badge.fury.io/js/vue-chart-js) | ||
[![npm](https://img.shields.io/npm/v/vue-chart-js.svg)](https://www.npmjs.com/package/vue-chart-js) | ||
[![npm](https://img.shields.io/npm/dt/vue-chart-js.svg)](https://www.npmjs.com/package/vue-chart-js) | ||
[![npm](https://img.shields.io/npm/dm/vue-chart-js.svg)](https://www.npmjs.com/package/vue-chart-js) | ||
[![npm](https://img.shields.io/npm/l/vue-chart-js.svg)](http://opensource.org/licenses/MIT) | ||
@@ -53,46 +54,12 @@ | ||
## Props | ||
```js | ||
/** | ||
* Chart.js type. | ||
*/ | ||
type: { | ||
required: true, | ||
type: String | ||
}, | ||
|Props|Description|Type|Required| | ||
|-----|-----------|----|--------| | ||
|type|Chart.js type|String|true| | ||
|data|Chart.js datasets|Object|true| | ||
|options|Chart.js options|Object|false| | ||
|width|Chart width|Number|false| | ||
|height|Chart height|Number|false| | ||
/** | ||
* Chart.js datasets. | ||
*/ | ||
data: { | ||
required: true, | ||
type: Object | ||
}, | ||
/** | ||
* Chart.js options. | ||
*/ | ||
option: { | ||
required: false, | ||
type: Object | ||
}, | ||
/** | ||
* Chart width. | ||
*/ | ||
width: { | ||
required: false, | ||
type: Number | ||
}, | ||
/** | ||
* Chart height. | ||
*/ | ||
height: { | ||
required: false, | ||
type: Number | ||
}, | ||
``` | ||
## License | ||
Vue-Chart-Js is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5176
6
1
65
+ Addedchart.js@^2.6.0
+ Addedchart.js@2.9.4(transitive)
+ Addedchartjs-color@2.4.1(transitive)
+ Addedchartjs-color-string@0.6.0(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.31.1.4(transitive)
+ Addedmoment@2.30.1(transitive)