import {
    Chart,
    ArcElement,
    LineElement,
    BarElement,
    PointElement,
    BarController,
//    BubbleController,
    DoughnutController,
    LineController,
    PieController,
//    PolarAreaController,
//    RadarController,
//    ScatterController,
    CategoryScale,
    LinearScale,
//    LogarithmicScale,
//    RadialLinearScale,
//    TimeScale,
//    TimeSeriesScale,
//    Decimation,
//    Filler,
    Legend,
    Title,
    Tooltip,
//    SubTitle
} from 'chart.js';

Chart.register(
    ArcElement,
    LineElement,
    BarElement,
    PointElement,
    BarController,
//    BubbleController,
    DoughnutController,
    LineController,
    PieController,
//    PolarAreaController,
//    RadarController,
//    ScatterController,
    CategoryScale,
    LinearScale,
//    LogarithmicScale,
//    RadialLinearScale,
//    TimeScale,
//    TimeSeriesScale,
//    Decimation,
//    Filler,
    Legend,
    Title,
    Tooltip,
//    SubTitle
);

global.Chart = Chart;