import * as node_modules_chart_js_dist_types_basic from 'node_modules/chart.js/dist/types/basic'; import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils'; import * as chart_js from 'chart.js'; import { ChartData, Plugin, InteractionItem, Chart, ChartConfiguration } from 'chart.js'; import * as _angular_core from '@angular/core'; import { OnDestroy, OnChanges, ElementRef, SimpleChanges } from '@angular/core'; declare type BooleanInput = string | boolean | null | undefined; declare class ChartjsComponent implements OnDestroy, OnChanges { static ngAcceptInputType_redraw: BooleanInput; private readonly ngZone; private readonly renderer; private readonly changeDetectorRef; /** * Enables custom html based tooltips instead of standard tooltips. * @return boolean * @default true */ readonly customTooltips: _angular_core.InputSignalWithTransform; /** * The data object that is passed into the Chart.js chart (more info). */ readonly data: _angular_core.InputSignal | undefined>; /** * A fallback when the canvas cannot be rendered. Can be used for accessible chart descriptions. */ /** * Height attribute applied to the rendered canvas. * @return number | undefined * @default null */ readonly height: _angular_core.InputSignalWithTransform; /** * ID attribute applied to the rendered canvas. * @return string */ readonly idInput: _angular_core.InputSignal; get id(): string; /** * The options object that is passed into the Chart.js chart. */ readonly optionsInput: _angular_core.InputSignal & chart_js.ElementChartOptions & chart_js.PluginChartOptions & chart_js.DatasetChartOptions & chart_js.ScaleChartOptions> | undefined>; readonly options: _angular_core.WritableSignal & chart_js.ElementChartOptions & chart_js.PluginChartOptions & chart_js.DatasetChartOptions & chart_js.ScaleChartOptions> | undefined>; /** * The plugins array that is passed into the Chart.js chart */ readonly plugins: _angular_core.InputSignal[]>; /** * If true, will tear down and redraw chart on all updates. * @return boolean * @default false */ readonly redraw: _angular_core.InputSignalWithTransform; /** * Chart.js chart type. * @return {'line' | 'bar' | 'radar' | 'doughnut' | 'polarArea' | 'bubble' | 'pie' | 'scatter'} */ readonly type: _angular_core.InputSignal; /** * Width attribute applied to the rendered canvas. * @return number | undefined * @default null */ readonly width: _angular_core.InputSignalWithTransform; /** * Put the chart into the wrapper div element. * @default true */ readonly wrapper: _angular_core.InputSignalWithTransform; readonly getDatasetAtEvent: _angular_core.OutputEmitterRef; readonly getElementAtEvent: _angular_core.OutputEmitterRef; readonly getElementsAtEvent: _angular_core.OutputEmitterRef; readonly chartRef: _angular_core.OutputEmitterRef; readonly canvasElement: _angular_core.Signal>; chart: Chart; ctx: CanvasRenderingContext2D; readonly hostClasses: _angular_core.Signal<{ 'chart-wrapper': boolean; }>; constructor(); ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; handleClick($event: MouseEvent): void; chartDestroy(): void; chartRender(): void; chartUpdate(): void; private chartUpdateOutsideAngular; chartToBase64Image(): string | undefined; private chartDataConfig; readonly chartOptions: _angular_core.Signal & chart_js.ElementChartOptions & chart_js.PluginChartOptions & chart_js.DatasetChartOptions & chart_js.ScaleChartOptions>>; readonly chartConfig: _angular_core.Signal>; private chartCustomTooltips; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ChartjsModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ChartjsComponent, ChartjsModule };