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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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