UNPKG

@swimlane/ngx-charts

Version:

Declarative Charting Framework for Angular

40 lines (39 loc) 2 kB
import { EventEmitter, ElementRef, OnChanges } from '@angular/core'; import { DataItem } from '../models/chart-data.model'; import { Gradient } from '../common/types/gradient.interface'; import { BarOrientation } from '../common/types/bar-orientation.enum'; import * as i0 from "@angular/core"; export declare class TreeMapCellComponent implements OnChanges { data: DataItem; fill: string; x: number; y: number; width: number; height: number; label: string; value: any; valueFormatting: any; labelFormatting: any; gradient: boolean; animations: boolean; select: EventEmitter<any>; gradientStops: Gradient[]; gradientId: string; gradientUrl: string; element: HTMLElement; transform: string; formattedLabel: string; formattedValue: string; initialized: boolean; orientation: typeof BarOrientation; constructor(element: ElementRef); ngOnChanges(): void; update(): void; loadAnimation(): void; getTextColor(): string; animateToCurrentForm(): void; onClick(): void; getGradientStops(): Gradient[]; static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellComponent, "g[ngx-charts-tree-map-cell]", never, { "data": { "alias": "data"; "required": false; }; "fill": { "alias": "fill"; "required": false; }; "x": { "alias": "x"; "required": false; }; "y": { "alias": "y"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>; }