vue-chartjs is a wrapper for Chart.js in vue. You can easily create reusable chart components. You can use vue-chartjs directly in the browser without any build setup. Like in this codepen. For this case, please use the vue-chartjs.min.js which is the minified version. You also need to add the Chart.js CDN script. Chart.js does not update or re-render the chart if new data is passed. However, you can simply implement this on your own or use one of the two mixins which are included. The mixins automatically create chartData as a prop or data. And add a watcher. If data has changed, the chart will update. However, keep in mind the limitations of vue and javascript for mutations on arrays and objects. It is important that you pass your options in a local variable named options! You can create your components in Vues single file components.

Features

  • Easy for both beginners and pros
  • Simple to use, easy to extend
  • With the full power of chart.js
  • Easy and beautiful charts with Chart.js and Vue.js
  • You can easily create reuseable chart components
  • You can use vue-chartjs directly in the browser

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow vue-chartjs

vue-chartjs Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vue-chartjs!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Data Visualization Software

Registered

2021-12-27