• Stars
    star
    191
  • Rank 202,877 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

*UNSUPPORTED* Google Charts plugin for Vue.js

vue-charts

Version Status js-standard-style License

Google Charts plugin for Vue.js

Demo

Installation

npm install --save-dev vue-charts

Usage

Vue.use(VueCharts)
<!-- Props can be literal, or dynamic (like they are here) -->
<vue-chart
    :chart-type="chartType"
    :columns="columns"
    :rows="rows"
    :options="options"
></vue-chart>

Props

Name Default Type Description
packages ['corechart'] Array Google Chart Packages to load.
version current String Google Chart Version to load.
chart-type LineChart String The type of chart to create.
columns none, required Array Required. Chart columns.
rows none Array Chart rows.
chart-events none Object Google Charts Events. See Events Example
options none Object Google Charts Options

Credits

This plugin is heavily based off of:

License

MIT