Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

๐Ÿ“Š A simple wrapper around Chart.js 3 for Vue 2 & 3

License

Notifications You must be signed in to change notification settings

jshmrtn/vue-chart-3

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

I'm joining vue-chartjs as a core maintainer so this package will be kept just for those who already use it. I'm encouraging new users to use vue-chartjs instead

๐Ÿ“Š Chart.js 3 for Vue 2 and Vue 3

sgts logo

npm version npm downloads npm downloads

This package is a rewrite of vue-chartjs for Chart.js 3, but written in Typescript with Vue 3 composition api in mind.

  • Vite.js and Nuxt 3 compatible ๐Ÿ’ฏ.

Full documentation

Installation

For Vue 3

npm i vue-chart-3 chart.js
#or
yarn add vue-chart-3 chart.js
#or
pnpm i vue-chart-3 chart.js

For Vue 2

npm i vue-chart-3@legacy chart.js
#or
yarn add vue-chart-3@legacy chart.js
#or
pnpm i vue-chart-3@legacy chart.js

Important notes

Using with Vue 3 or Vue 2

This package works with version 2.x and 3.x of Vue.

  • Vue 3 works out-of-the-box
  • Vue 2 requires @vue/composition-api package to also be installed and registered, to provide Vue 3's Composition API features like ref, defineComponent, computed, reactive.

Demos

About

๐Ÿ“Š A simple wrapper around Chart.js 3 for Vue 2 & 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.7%
  • Vue 21.6%
  • HTML 2.5%
  • JavaScript 1.2%