export enum ChartType {
  Bar = 'bar',
  Line = 'line',
  Scatter = 'scatter',
  Bubble = 'bubble',
  Pie = 'pie',
  Doughnut = 'doughnut',
  PolarArea = 'polarArea',
  Radar = 'radar',
}

export interface IDataset {
  type?: ChartType;
  borderColor?: string;
  label?: string;
  data: string[];
  backgroundColor?: string | string[];
  pointBackgroundColor?: string;
  pointBorderColor?: string;
}

export interface IData {
  labels?: string[];
  labelsSource?: string[];
  datasets: IDataset[];
}
