fix(editor): Make sure LineController is registered with chart.js (#7730)

Tree shaking in production build of the editor-ui package removed the
LineController, this makes sure it is in the final package.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-16 11:57:43 +01:00
committed by GitHub
parent 6300ee342c
commit ebee1a5908

View File

@@ -8,6 +8,7 @@ import {
PointElement, PointElement,
CategoryScale, CategoryScale,
LinearScale, LinearScale,
LineController,
} from 'chart.js'; } from 'chart.js';
export const ChartJSPlugin = { export const ChartJSPlugin = {
@@ -21,6 +22,7 @@ export const ChartJSPlugin = {
Title, Title,
Tooltip, Tooltip,
Legend, Legend,
LineController,
); );
}, },
}; };