Update ChartJSTheme.ts

This commit is contained in:
Nate Kelley 2025-01-10 10:14:06 -07:00
parent fd54b4724d
commit 8f9b9aa8c0
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 14 additions and 2 deletions

View File

@ -3,7 +3,6 @@ import {
CategoryScale,
LinearScale,
BarElement,
PointElement,
LineElement,
Title,
Tooltip,
@ -12,7 +11,14 @@ import {
Colors,
LogarithmicScale,
TimeScale,
TimeSeriesScale
TimeSeriesScale,
PointElement,
LineController,
BarController,
BubbleController,
PieController,
ScatterController,
DoughnutController
} from 'chart.js';
import { ChartMountedPlugin } from './core/plugins';
import ChartDeferred from 'chartjs-plugin-deferred';
@ -27,6 +33,12 @@ import { DEFAULT_CHART_THEME } from '../configColors';
const token = busterAppStyleConfig.token!;
ChartJS.register(
LineController,
BarController,
BubbleController,
PieController,
ScatterController,
DoughnutController,
CategoryScale,
LinearScale,
BarElement,