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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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