0
0
mirror of https://github.com/kevinpapst/kimai2.git synced 2024-10-30 22:06:47 +00:00
kevinpapst_kimai2/assets/chart.js
2024-05-01 14:24:24 +02:00

58 lines
1016 B
JavaScript

import {
Chart,
ArcElement,
LineElement,
BarElement,
PointElement,
BarController,
// BubbleController,
DoughnutController,
LineController,
PieController,
// PolarAreaController,
// RadarController,
// ScatterController,
CategoryScale,
LinearScale,
// LogarithmicScale,
// RadialLinearScale,
// TimeScale,
// TimeSeriesScale,
// Decimation,
// Filler,
Legend,
Title,
Tooltip,
Colors,
// SubTitle
} from 'chart.js';
Chart.register(
ArcElement,
LineElement,
BarElement,
PointElement,
BarController,
// BubbleController,
DoughnutController,
LineController,
PieController,
// PolarAreaController,
// RadarController,
// ScatterController,
CategoryScale,
LinearScale,
// LogarithmicScale,
// RadialLinearScale,
// TimeScale,
// TimeSeriesScale,
// Decimation,
// Filler,
Legend,
Title,
Tooltip,
Colors
// SubTitle
);
global.Chart = Chart;