VueChart
A simple wrapper for Chart.
dependencies
setup
npm
npm install vuechart
ES module
Register the component globally.
;; Vue;
or
Register the component in the scope of another component.
; components: VueChartname: VueChart /*...*/;
browser
If Vue is detected, the component will be registered automatically.
usage
properties
property | type | description |
---|---|---|
data |
Object |
The data of the chart. |
options |
Object |
The configuration options of the chart of the current type. |
type |
String |
The type of the chart. Changing the value will recreate the chart. |
update-config |
Object |
The additional configuration for the update process. |