From 8f9b9aa8c0656c1a98c674e1d7aebfca4466baf1 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 10 Jan 2025 10:14:06 -0700 Subject: [PATCH] Update ChartJSTheme.ts --- .../charts/BusterChartJS/ChartJSTheme.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/web/src/components/charts/BusterChartJS/ChartJSTheme.ts b/web/src/components/charts/BusterChartJS/ChartJSTheme.ts index db3222479..a54f0165d 100644 --- a/web/src/components/charts/BusterChartJS/ChartJSTheme.ts +++ b/web/src/components/charts/BusterChartJS/ChartJSTheme.ts @@ -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,