Gathering detailed insights and metrics for vue-chartjs
Gathering detailed insights and metrics for vue-chartjs
Gathering detailed insights and metrics for vue-chartjs
Gathering detailed insights and metrics for vue-chartjs
npm install vue-chartjs
Typescript
Module System
Node Version
NPM Version
TypeScript (73.26%)
Vue (12.52%)
JavaScript (8.72%)
HTML (5.5%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5,660 Stars
840 Commits
832 Forks
67 Watchers
20 Branches
102 Contributors
Updated on Jul 15, 2025
Latest Version
5.3.2
Package Id
vue-chartjs@5.3.2
Unpacked Size
74.26 kB
Size
13.10 kB
File Count
19
NPM Version
8.19.4
Node Version
16.20.2
Published on
Oct 31, 2024
Cumulative downloads
Total Downloads
vue-chartjs is a wrapper for Chart.js in Vue. You can easily create reuseable chart components.
Supports Chart.js v4.
Install this library with peer dependencies:
1pnpm add vue-chartjs chart.js 2# or 3yarn add vue-chartjs chart.js 4# or 5npm i vue-chartjs chart.js
Then, import and use individual components:
1<template> 2 <Bar :data="data" :options="options" /> 3</template> 4 5<script lang="ts"> 6import { 7 Chart as ChartJS, 8 Title, 9 Tooltip, 10 Legend, 11 BarElement, 12 CategoryScale, 13 LinearScale 14} from 'chart.js' 15import { Bar } from 'vue-chartjs' 16 17ChartJS.register(CategoryScale, LinearScale, BarElement, Title, Tooltip, Legend) 18 19export default { 20 name: 'App', 21 components: { 22 Bar 23 }, 24 data() { 25 return { 26 data: { 27 labels: ['January', 'February', 'March'], 28 datasets: [{ data: [40, 20, 12] }] 29 }, 30 options: { 31 responsive: true 32 } 33 } 34 } 35} 36</script>
Need an API to fetch data? Consider Cube, an open-source API for data apps.
1# install dependencies 2pnpm install 3 4# build for production with minification 5pnpm build 6 7# run unit tests 8pnpm test:unit 9 10# run all tests 11pnpm test
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)This software is distributed under MIT license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
Found 6/17 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year