@covalent/echarts
Version:
Teradata UI Platform Echarts Module
92 lines (88 loc) • 5.54 kB
TypeScript
import * as i0 from '@angular/core';
import { Type } from '@angular/core';
import { TdSeriesDirective, ITdSeries, ITdLabel, ITdItemStyle, ITdMarkPoint, ITdMarkLine, ITdMarkArea } from '@covalent/echarts/base';
type TdMapValueCalculation = 'sum' | 'average' | 'max' | 'min';
type TdMapSeriesLayoutBy = 'column' | 'row';
interface ITdMapScaleLimit {
min?: number;
max?: number;
}
interface ITdMapItemStyle {
areaColor?: ITdItemStyle;
emphasis?: ITdItemStyle;
}
interface ITdMapSeries extends ITdSeries {
map?: string;
roam?: boolean;
center?: number[];
aspectScale?: number;
boudingCoords?: any[];
zoom?: number;
scaleLimit?: ITdMapScaleLimit;
nameMap?: object;
selectedMode?: boolean | string;
label?: ITdLabel;
itemStyle?: ITdMapItemStyle;
zLevel?: number;
z?: number;
left?: string | number;
top?: string | number;
right?: string | number;
bottom?: string | number;
layoutCenter?: any[];
layoutSize?: any[];
geoIndex?: number;
mapValueCalculation?: TdMapValueCalculation;
showLegendSymbol?: boolean;
seriesLayoutBy?: string;
data?: any[];
markPoint?: ITdMarkPoint;
markLine?: ITdMarkLine;
markArea?: ITdMarkArea;
silent?: boolean;
}
declare class TdChartSeriesMapComponent extends TdSeriesDirective implements ITdMapSeries {
map?: string;
roam?: boolean;
center?: number[];
aspectScale?: number;
boudingCoords?: any[];
zoom?: number;
scaleLimit?: ITdMapScaleLimit;
nameMap?: object;
selectedMode?: boolean | string;
label?: ITdLabel;
itemStyle?: ITdMapItemStyle;
zLevel?: number;
z?: number;
left?: string | number;
top?: string | number;
right?: string | number;
bottom?: string | number;
layoutCenter?: any[];
layoutSize?: any[];
geoIndex?: number;
mapValueCalculation?: TdMapValueCalculation;
showLegendSymbol?: boolean;
seriesLayoutBy?: string;
markPoint?: ITdMarkPoint;
markLine?: ITdMarkLine;
markArea?: ITdMarkArea;
silent?: boolean;
constructor();
getConfig(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesMapComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesMapComponent, "td-chart-series[td-map]", 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; }; "map": { "alias": "map"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "center": { "alias": "center"; "required": false; }; "aspectScale": { "alias": "aspectScale"; "required": false; }; "boudingCoords": { "alias": "boudingCoords"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "scaleLimit": { "alias": "scaleLimit"; "required": false; }; "nameMap": { "alias": "nameMap"; "required": false; }; "selectedMode": { "alias": "selectedMode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "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; }; "layoutCenter": { "alias": "layoutCenter"; "required": false; }; "layoutSize": { "alias": "layoutSize"; "required": false; }; "geoIndex": { "alias": "geoIndex"; "required": false; }; "mapValueCalculation": { "alias": "mapValueCalculation"; "required": false; }; "showLegendSymbol": { "alias": "showLegendSymbol"; "required": false; }; "seriesLayoutBy": { "alias": "seriesLayoutBy"; "required": false; }; "markPoint": { "alias": "markPoint"; "required": false; }; "markLine": { "alias": "markLine"; "required": false; }; "markArea": { "alias": "markArea"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; }, {}, never, never, true, never>;
}
declare const MAP_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 CovalentMapEchartsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentMapEchartsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentMapEchartsModule, never, [typeof TdChartSeriesMapComponent], [typeof TdChartSeriesMapComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentMapEchartsModule>;
}
export { CovalentMapEchartsModule, MAP_MODULE_COMPONENTS, TdChartSeriesMapComponent };
export type { ITdMapItemStyle, ITdMapScaleLimit, ITdMapSeries, TdMapSeriesLayoutBy, TdMapValueCalculation };