mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-30 23:30:38 +02:00
29 lines
379 B
TypeScript
29 lines
379 B
TypeScript
import {
|
|
Chart as ChartJS,
|
|
Title,
|
|
Tooltip,
|
|
Legend,
|
|
BarElement,
|
|
LineElement,
|
|
PointElement,
|
|
CategoryScale,
|
|
LinearScale,
|
|
LineController,
|
|
} from 'chart.js';
|
|
|
|
export const ChartJSPlugin = {
|
|
install: () => {
|
|
ChartJS.register(
|
|
CategoryScale,
|
|
LinearScale,
|
|
BarElement,
|
|
LineElement,
|
|
PointElement,
|
|
Title,
|
|
Tooltip,
|
|
Legend,
|
|
LineController,
|
|
);
|
|
},
|
|
};
|