Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
@@ -1,2 +1,56 @@
|
||||
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,
|
||||
// SubTitle
|
||||
} from 'chart.js';
|
||||
|
||||
require('chart.js/dist/Chart.min');
|
||||
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,
|
||||
// SubTitle
|
||||
);
|
||||
|
||||
global.Chart = Chart;
|
||||
Reference in New Issue
Block a user