import * as primeng_types_chart from 'primeng/types/chart'; import { ChartPassThrough, ChartType, ChartPlugin, ChartData, ChartDataSelectEvent } from 'primeng/types/chart'; import * as chart_js from 'chart.js'; import * as _angular_core from '@angular/core'; import Chart from 'chart.js/auto'; import { BaseComponent } from 'primeng/basecomponent'; import { BaseStyle } from 'primeng/base'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import * as i2 from 'primeng/api'; declare class ChartStyle extends BaseStyle { name: string; classes: { root: string; }; inlineStyles: { root: ({ instance }: { instance: any; }) => { display: string; position: string; width: any; height: any; }; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Chart groups a collection of contents in tabs. * * [Live Demo](https://www.primeng.org/chart/) * * @module chartstyle * */ declare enum ChartClasses { /** * Class name of the root element */ root = "p-chart" } /** * Chart groups a collection of contents in tabs. * @group Components * @deprecated Charts will be removed in a future release in favor of PrimeUI PRO Charts. */ declare class UIChart extends BaseComponent { componentName: string; $pcChart: UIChart | undefined; bindDirectiveInstance: Bind; /** * Type of the chart. * @group Props */ type: _angular_core.InputSignal; /** * Array of per-chart plugins to customize the chart behaviour. * @group Props */ plugins: _angular_core.InputSignal; /** * Width of the chart. * @group Props */ width: _angular_core.InputSignal; /** * Height of the chart. * @group Props */ height: _angular_core.InputSignal; /** * Whether the chart is redrawn on screen size change. * @group Props */ responsive: _angular_core.InputSignalWithTransform; /** * Used to define a string that autocomplete attribute the current element. * @group Props */ ariaLabel: _angular_core.InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: _angular_core.InputSignal; /** * Data to display. * @group Props */ data: _angular_core.InputSignal | undefined>; /** * Options to customize the chart. * @group Props */ options: _angular_core.InputSignal; /** * Callback to execute when an element on chart is clicked. * @group Emits */ onDataSelect: _angular_core.OutputEmitterRef; _componentStyle: ChartStyle; initialized: boolean; chart: Chart | null; constructor(); onAfterViewChecked(): void; canvasWidth(): string | null | undefined; canvasHeight(): string | null | undefined; onAfterViewInit(): void; onCanvasClick(event: Event): void; initChart(): void; getCanvas(): HTMLCanvasElement; getBase64Image(): string; generateLegend(): any; refresh(): void; reinit(): void; onDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ChartModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ChartClasses, ChartModule, ChartStyle, UIChart };