import { AxisX, AxisY } from '../ReportDefinition/types';
export enum RenderChartType {
  Line = 'line',
  Bar = 'bar',
}

export type RenderDataType = {
  [key: string]: string | number;
}

export type RenderDefinition = {
  type: RenderChartType;
  data: RenderDataType[];
  x: AxisX;
  y: AxisY | AxisY[];
  options?: Object;
  plugins?: Object[];
}
