import Chart from "chart.js/auto"; import { BaseComponent } from "primeng/basecomponent"; import { BaseStyle } from "primeng/base"; import * as i0 from "@angular/core"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { ChartData, ChartDataSelectEvent, ChartPassThrough, ChartPlugin, ChartType } from "primeng/types/chart"; import * as i2 from "primeng/api"; export 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: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * Chart groups a collection of contents in tabs. * * [Live Demo](https://www.primeng.org/chart/) * * @module chartstyle * */ export 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. */ export declare class UIChart extends BaseComponent { componentName: string; $pcChart: UIChart | undefined; bindDirectiveInstance: Bind; /** * Type of the chart. * @group Props */ type: import("@angular/core").InputSignal; /** * Array of per-chart plugins to customize the chart behaviour. * @group Props */ plugins: import("@angular/core").InputSignal; /** * Width of the chart. * @group Props */ width: import("@angular/core").InputSignal; /** * Height of the chart. * @group Props */ height: import("@angular/core").InputSignal; /** * Whether the chart is redrawn on screen size change. * @group Props */ responsive: import("@angular/core").InputSignalWithTransform; /** * Used to define a string that autocomplete attribute the current element. * @group Props */ ariaLabel: import("@angular/core").InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: import("@angular/core").InputSignal; /** * Data to display. * @group Props */ data: import("@angular/core").InputSignal | undefined>; /** * Options to customize the chart. * @group Props */ options: import("@angular/core").InputSignal; /** * Callback to execute when an element on chart is clicked. * @group Emits */ onDataSelect: import("@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: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class ChartModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }