feat(dm-stats): add most used words stat

This commit is contained in:
Samuel 2024-12-13 17:10:44 +01:00
parent 5d2ce7705c
commit cd4c5095e5
7 changed files with 163 additions and 40 deletions

View file

@ -36,6 +36,7 @@ import {
ScatterController,
Tooltip,
} from "chart.js";
import { WordCloudController, WordElement } from "chartjs-chart-wordcloud";
import ChartDeferred from "chartjs-plugin-deferred";
import ChartZoom from "chartjs-plugin-zoom";
@ -276,6 +277,7 @@ const RadarChart = /* #__PURE__ */ createTypedChart("radar", [
RadialLinearScale,
]);
const ScatterChart = /* #__PURE__ */ createTypedChart("scatter", [ScatterController, PointElement, LinearScale]);
const WordCloudChart = /* #__PURE__ */ createTypedChart("wordCloud", [WordCloudController, WordElement]);
export {
BarChart,
@ -287,4 +289,5 @@ export {
PolarAreaChart,
RadarChart,
ScatterChart,
WordCloudChart,
};