/** Angular */ import * as ng from "@angular/core"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; import { ChartSeriesColor, CHART_SERIES_DEFAULT_COLORS } from "../dataSeriesChart/dataSeriesChart"; /** Kendo */ import "kendo.dataviz.treemap"; import "kendo.tooltip"; export { ChartSeriesColor as DonutChartSeriesColor }; export { CHART_SERIES_DEFAULT_COLORS as SYSTEM_DEFAULT_COLORS }; /** * TreeMapChartCategory */ export interface TreeMapChartCategory { title: string; value: number; color: string; } /** * @whatItDoes * This component is used to represent a TreeMap Chart * * @howToUse * This component is used with the inputs and outputs mentioned below * * ### Inputs * * `string` : **mainTitle** - Main title * * `string` : **subTitle** - Sub title * * `TreeMapChartCategory[]` : **data** - Data for TreeMap Chart; * * `any` : **dataSource** - Kendo DataSource * * `string` : **tooltipUnits** - Units to display in tooltip; * * `string` : **valueField** - Value field * * `string` : **colorField** - Color field * * `string` : **nameField** - Name field * * `boolean` : **autoGeneratedColors** - If colors are auto generated * * `boolean` : **showCaption** - If the chart show a caption or not; * * ### Outputs * _This component has no outputs * * ## Example * * ```html * * * ``` */ export declare class TreeMapChart extends CoreComponent implements ng.OnChanges, ng.AfterViewInit, ng.OnDestroy { private elementRef; /** * Stores the element query */ private _elementQuery; /** * Main container */ private _mainContainer; /** * Kendo UI chart */ private _kendoChart; /** * Chart "redraw" callback throttled */ private _chartRedrawThrottled; /** * DateTime pipe */ private _dateTimePipe; /** * Main title */ mainTitle: string; /** * Sub title */ subTitle: string; /** * Data */ data: TreeMapChartCategory[]; /** * Kendo DataSource */ dataSource: any; /** * Tooltip units */ tooltipUnits: string; /** * Name field */ nameField: string; /** * Value field */ valueField: string; /** * Color field */ colorField: string; /** * Auto generated colors */ autoGeneratedColors: boolean; /** * Show caption */ showCaption: boolean; /** * Constructor */ constructor(elementRef: ng.ElementRef); /** * On data updated */ private onDataUpdated; /** * On Changes * @param changes Changes */ ngOnChanges(changes: ng.SimpleChanges): void; /** * After View Init */ ngAfterViewInit(): void; /** * On Destroy */ ngOnDestroy(): void; } export declare class TreeMapChartModule { }