@covalent/echarts
Version:
Teradata UI Platform Echarts Module
82 lines (78 loc) • 5.08 kB
TypeScript
import * as i0 from '@angular/core';
import { Type } from '@angular/core';
import { TdSeriesDirective, ITdSeries, ITdLabel, ITdItemStyle, ITdLineCurveStyle, ITdEmphasis, ITdShadow } from '@covalent/echarts/base';
type TdSankeyOrient = 'horizontal' | 'vertical';
type TdSankeyFocusNodeAdjacency = boolean | 'allEdges' | 'outEdges' | 'inEdges';
interface ITdSankeyEmphasisLineStyle extends ITdShadow {
color?: any;
opacity?: number;
curveness?: number;
}
interface ITdSankeyEmphasis extends ITdEmphasis {
lineStyle: ITdSankeyEmphasisLineStyle;
}
interface ITdSankeySeries extends ITdSeries {
zlevel?: number;
z?: number;
left?: string | number;
top?: string | number;
right?: string | number;
bottom?: string | number;
width?: string | number;
height?: string | number;
nodeWidth?: number;
nodeGap?: number;
layoutIterations?: number;
orient?: TdSankeyOrient;
draggable?: boolean;
focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;
label?: ITdLabel;
itemStyle?: ITdItemStyle;
lineStyle?: ITdLineCurveStyle;
emphasis?: ITdEmphasis;
data?: any[];
nodes?: any[];
links?: any[];
edges?: any[];
silent?: boolean;
}
declare class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {
zlevel?: number;
z?: number;
left?: string | number;
top?: string | number;
right?: string | number;
bottom?: string | number;
width?: string | number;
height?: string | number;
nodeWidth?: number;
nodeGap?: number;
layoutIterations?: number;
orient?: TdSankeyOrient;
draggable?: boolean;
focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;
label?: ITdLabel;
itemStyle?: ITdItemStyle;
lineStyle?: ITdLineCurveStyle;
emphasis?: ITdEmphasis;
nodes?: any[];
links?: any[];
edges?: any[];
silent?: boolean;
constructor();
getConfig(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesSankeyComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesSankeyComponent, "td-chart-series[td-sankey]", 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; }; "nodeWidth": { "alias": "nodeWidth"; "required": false; }; "nodeGap": { "alias": "nodeGap"; "required": false; }; "layoutIterations": { "alias": "layoutIterations"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "focusNodeAdjacency": { "alias": "focusNodeAdjacency"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "lineStyle": { "alias": "lineStyle"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "links": { "alias": "links"; "required": false; }; "edges": { "alias": "edges"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; }, {}, never, never, true, never>;
}
declare const SANKEY_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 CovalentSankeyEchartsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSankeyEchartsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentSankeyEchartsModule, never, [typeof TdChartSeriesSankeyComponent], [typeof TdChartSeriesSankeyComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<CovalentSankeyEchartsModule>;
}
export { CovalentSankeyEchartsModule, SANKEY_MODULE_COMPONENTS, TdChartSeriesSankeyComponent };
export type { ITdSankeyEmphasis, ITdSankeyEmphasisLineStyle, ITdSankeySeries, TdSankeyFocusNodeAdjacency, TdSankeyOrient };