Description
Vue Chartkick lets you create JavaScript charts in a Vue app with one line of code. It supports Chart.js, Google Charts and Highcharts as the charting library underneath. The quick start sets up Chartkick with Chart.js, and the README links detailed instructions for the other libraries. The latest version works with Vue 3, and Vue 2 apps should use version 0.6.1 and its readme. Chart types include line, pie, column, bar, area and scatter, with geo and timeline charts through Google Charts, and multiple series are supported. Data can be an array, an object, a callback, or a URL, and the README suggests giving each chart its own endpoint so pages load quickly. Options cover the chart id, width and height, minimum and maximum values, colours, stacked columns and bars, axis titles, label, legend visibility and position, and a donut layout. Number formatting includes prefixes and suffixes for currency and percentages, thousands and decimal separators, significant digits and rounding. The project is public on GitHub.…
Highlights
- Charts with one line of Vue
- Chart.js, Google Charts and Highcharts
- Line, pie, column, bar, area, scatter, geo and timeline
- Data from arrays, objects, callbacks or URLs
- Options for legends, colours, axes and number formats
Ratings & Reviews
No ratings yet
Be the first to rate vue-chartkick.
People also visit
vue-chartkick FAQ
Which charting libraries does it support?
Chart.js, Google Charts and Highcharts, with Chart.js used in the quick start.
Which Vue versions work?
The latest version works with Vue 3. For Vue 2, the README says to use version 0.6.1.
Can chart data come from a URL?
Yes. Data can be an array, an object, a callback or a URL, and the README suggests a separate endpoint for each chart.
Can I format the numbers?
Yes. Options include prefixes and suffixes, thousands and decimal separators, significant digits and rounding, for libraries that support them.
What are the best vue-chartkick alternatives?
Popular alternatives to vue-chartkick include chartkick, vue-data-ui and vue-chartjs. See all vue-chartkick alternatives

















