// chartUtils.js
import {
  Chart as ChartJS,
  CategoryScale,
  LinearScale,
  PointElement,
  LineElement,
  BarElement,
  ArcElement,
  RadialLinearScale,
  Title,
  Tooltip,
  Legend,
} from '../../../variables/chart';

// chartutils.js
import { Chart } from 'chart.js';
import { registerables } from 'chart.js';

export const registerChartJS = () => {
  Chart.register(...registerables);
};


export const commonChartOptions = {
  responsive: true,
  maintainAspectRatio: false,
};