UNPKG

@covalent/echarts

Version:

Teradata UI Platform Echarts Module

150 lines (146 loc) 7.55 kB
import * as i0 from '@angular/core'; import { Type } from '@angular/core'; import { TdSeriesDirective, ITdSeries, ITdItemStyle, ITdLabel, ITdEmphasis, ITdShadow, ITdSeriesTooltip } from '@covalent/echarts/base'; /** * ECHART OPTION DOCS * https://ecomfe.github.io/echarts-examples/public/index.html#chart-type-treemap * */ interface ITdTreemapEmphasisLineStyle extends ITdShadow { color?: any; width?: number; curveness?: number; } interface ITdTreemapEmphasis extends ITdEmphasis { lineStyle: ITdTreemapEmphasisLineStyle; } interface ITdTreemapUpperLabel { show?: boolean; position?: string | any[]; distance?: string | number; rotate?: string | number; offset?: any[]; formatter?: string; color?: any; fontStyle?: string; fontWeight?: string; fontFamily?: string; fontSize?: string | number; align?: string; verticalAlign?: string; lineHeight?: string | number; backgroundColor?: any; borderColor?: string; borderWidth?: string | number; borderRadius?: string | number; padding?: number | any[]; shadowColor?: string; shadowBlur?: string | number; shadowOffsetX?: string | number; shadowOffsetY?: string | number; width?: string | number; height?: string | number; textBorderColor?: string; textBorderWidth?: string | number; textShadowColor?: string; textShadowBlur?: string | number; textShadowOffsetX?: string | number; textShadowOffsetY?: string | number; rich?: any; ellipsis?: any; } interface ITdTreemapBreadcrumb { show?: boolean; left?: string | number; top?: string | number; right?: string | number; bottom?: string | number; height?: string | number; emptyItemWidth?: string | number; itemStyle?: ITdItemStyle; emphasis?: ITdTreemapEmphasis; } interface ITdTreemapSeries extends ITdSeries { zlevel?: number; z?: number; left?: string | number; top?: string | number; right?: string | number; bottom?: string | number; width?: string | number; height?: string | number; squareRatio?: string | number; leafDepth?: string | number; drillDownIcon?: string; roam?: boolean | string; nodeClick?: boolean | string; zoomToNodeRatio?: string | number; levels?: any[]; silent?: boolean; visualDimension?: string | number; visualMin?: string | number; visualMax?: string | number; colorAlpha?: any[]; colorSaturation?: string | number; colorMappingBy?: string; visibleMin?: string | number; childrenVisibleMin?: string | number; itemStyle?: ITdItemStyle; label?: ITdLabel; upperLabel?: ITdTreemapUpperLabel; breadcrumb?: ITdTreemapBreadcrumb; emphasis?: ITdTreemapEmphasis; data?: any[]; } declare class TdChartSeriesTreemapComponent extends TdSeriesDirective implements ITdTreemapSeries { config?: any; id?: string; name?: string; data?: any; zlevel?: number; z?: number; left?: string | number; top?: string | number; right?: string | number; bottom?: string | number; width?: string | number; height?: string | number; squareRatio?: string | number; leafDepth?: string | number; drillDownIcon?: string; roam?: boolean | string; nodeClick?: boolean | string; zoomToNodeRatio?: string | number; levels?: any[]; silent?: boolean; visualDimension?: string | number; visualMin?: string | number; visualMax?: string | number; colorAlpha?: any[]; colorSaturation?: string | number; colorMappingBy?: string; visibleMin?: string | number; childrenVisibleMin?: string | number; itemStyle?: ITdItemStyle; label?: ITdLabel; upperLabel?: ITdTreemapUpperLabel; breadcrumb?: ITdTreemapBreadcrumb; emphasis?: ITdTreemapEmphasis; tooltip: ITdSeriesTooltip; constructor(); getConfig(): any; static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreemapComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreemapComponent, "td-chart-series[td-treemap]", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "squareRatio": { "alias": "squareRatio"; "required": false; }; "leafDepth": { "alias": "leafDepth"; "required": false; }; "drillDownIcon": { "alias": "drillDownIcon"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "nodeClick": { "alias": "nodeClick"; "required": false; }; "zoomToNodeRatio": { "alias": "zoomToNodeRatio"; "required": false; }; "levels": { "alias": "levels"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "visualDimension": { "alias": "visualDimension"; "required": false; }; "visualMin": { "alias": "visualMin"; "required": false; }; "visualMax": { "alias": "visualMax"; "required": false; }; "colorAlpha": { "alias": "colorAlpha"; "required": false; }; "colorSaturation": { "alias": "colorSaturation"; "required": false; }; "colorMappingBy": { "alias": "colorMappingBy"; "required": false; }; "visibleMin": { "alias": "visibleMin"; "required": false; }; "childrenVisibleMin": { "alias": "childrenVisibleMin"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "upperLabel": { "alias": "upperLabel"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; }, {}, never, never, true, never>; } declare const TREEMAP_MODULE_COMPONENTS: Type<any>[]; /** * @deprecated This module is deprecated and will be removed in future versions. * Please migrate to using standalone components as soon as possible. */ declare class CovalentTreemapEchartsModule { static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTreemapEchartsModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTreemapEchartsModule, never, [typeof TdChartSeriesTreemapComponent], [typeof TdChartSeriesTreemapComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTreemapEchartsModule>; } export { CovalentTreemapEchartsModule, TREEMAP_MODULE_COMPONENTS, TdChartSeriesTreemapComponent }; export type { ITdTreemapBreadcrumb, ITdTreemapEmphasis, ITdTreemapEmphasisLineStyle, ITdTreemapUpperLabel };