boussole-pluss/frontend/plugins/chartjs.ts

6 lines
202 B
TypeScript
Raw Normal View History

import {ArcElement, Chart, Legend, RadialLinearScale, Title, Tooltip} from 'chart.js'
export default defineNuxtPlugin(() => {
Chart.register(Title, Tooltip, Legend, ArcElement, RadialLinearScale)
})