import { PropType } from 'vue'; import { ChartData, Plugin } from 'chart.js/auto'; declare const CChart: import("vue").DefineComponent<{ /** * Enables custom html based tooltips instead of standard tooltips. * * @default true */ customTooltips: { type: BooleanConstructor; default: boolean; }; /** * The data object that is passed into the Chart.js chart (more info). */ data: { type: PropType | ((canvas: HTMLCanvasElement) => ChartData)>; required: true; }; /** * Height attribute applied to the rendered canvas. * * @default 150 */ height: { type: NumberConstructor; default: number; }; /** * ID attribute applied to the rendered canvas. */ id: { type: StringConstructor; }; /** * The options object that is passed into the Chart.js chartRef.value. * * {@link https://www.chartjs.org/docs/latest/general/options.html More Info} */ options: { type: PropType & import("chart.js/auto").ElementChartOptions & import("chart.js/auto").PluginChartOptions & import("chart.js/auto").DatasetChartOptions & import("chart.js/auto").ScaleChartOptions>>; }; /** * The plugins array that is passed into the Chart.js chart (more info) * * {@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info} */ plugins: { type: PropType[]>; }; /** * If true, will tear down and redraw chart on all updates. */ redraw: BooleanConstructor; /** * Chart.js chart type. * * @type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter' */ type: { type: PropType; default: string; }; /** * Width attribute applied to the rendered canvas. * * @default 300 */ width: { type: NumberConstructor; default: number; }; /** * Put the chart into the wrapper div element. * * @default true */ wrapper: { type: BooleanConstructor; default: boolean; }; }, () => import("vue").VNode, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("getDatasetAtEvent" | "getElementAtEvent" | "getElementsAtEvent")[], "getDatasetAtEvent" | "getElementAtEvent" | "getElementsAtEvent", import("vue").PublicProps, Readonly | ((canvas: HTMLCanvasElement) => ChartData)>; required: true; }; /** * Height attribute applied to the rendered canvas. * * @default 150 */ height: { type: NumberConstructor; default: number; }; /** * ID attribute applied to the rendered canvas. */ id: { type: StringConstructor; }; /** * The options object that is passed into the Chart.js chartRef.value. * * {@link https://www.chartjs.org/docs/latest/general/options.html More Info} */ options: { type: PropType & import("chart.js/auto").ElementChartOptions & import("chart.js/auto").PluginChartOptions & import("chart.js/auto").DatasetChartOptions & import("chart.js/auto").ScaleChartOptions>>; }; /** * The plugins array that is passed into the Chart.js chart (more info) * * {@link https://www.chartjs.org/docs/latest/developers/plugins.html More Info} */ plugins: { type: PropType[]>; }; /** * If true, will tear down and redraw chart on all updates. */ redraw: BooleanConstructor; /** * Chart.js chart type. * * @type 'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter' */ type: { type: PropType; default: string; }; /** * Width attribute applied to the rendered canvas. * * @default 300 */ width: { type: NumberConstructor; default: number; }; /** * Put the chart into the wrapper div element. * * @default true */ wrapper: { type: BooleanConstructor; default: boolean; }; }>> & { onGetDatasetAtEvent?: ((...args: any[]) => any) | undefined; onGetElementAtEvent?: ((...args: any[]) => any) | undefined; onGetElementsAtEvent?: ((...args: any[]) => any) | undefined; }, { customTooltips: boolean; height: number; redraw: boolean; type: keyof import("chart.js/auto").ChartTypeRegistry; width: number; wrapper: boolean; }, {}>; export default CChart;