@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular
44 lines (43 loc) • 2.11 kB
TypeScript
import { OnChanges, SimpleChanges, EventEmitter, TemplateRef } from '@angular/core';
import { ColorHelper } from '../common/color.helper';
import { DataItem } from '../models/chart-data.model';
import { StyleTypes } from '../common/tooltip/style.type';
import { PlacementTypes } from '../common/tooltip/position';
import { ViewDimensions } from '../common/types/view-dimension.interface';
import * as i0 from "@angular/core";
interface TreeMapCell {
data: DataItem;
fill: string;
height: number;
label: string;
value: any;
width: number;
x: number;
y: number;
}
export declare class TreeMapCellSeriesComponent implements OnChanges {
data: any;
dims: ViewDimensions;
colors: ColorHelper;
valueFormatting: any;
labelFormatting: any;
gradient: boolean;
tooltipDisabled: boolean;
tooltipTemplate: TemplateRef<any>;
animations: boolean;
select: EventEmitter<any>;
cells: TreeMapCell[];
styleTypes: typeof StyleTypes;
placementTypes: typeof PlacementTypes;
ngOnChanges(changes: SimpleChanges): void;
getCells(): TreeMapCell[];
getTooltipText({ label, value }: {
label: any;
value: any;
}): string;
onClick(data: any): void;
trackBy(index: any, item: any): string;
static ɵfac: i0.ɵɵFactoryDeclaration<TreeMapCellSeriesComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TreeMapCellSeriesComponent, "g[ngx-charts-tree-map-cell-series]", never, { "data": { "alias": "data"; "required": false; }; "dims": { "alias": "dims"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "valueFormatting": { "alias": "valueFormatting"; "required": false; }; "labelFormatting": { "alias": "labelFormatting"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
}
export {};