@covalent/echarts
Version:
Teradata Charts built on echarts
178 lines (171 loc) • 7.23 kB
JavaScript
import { CommonModule } from '@angular/common';
import 'echarts/lib/chart/graph';
import { __extends } from 'tslib';
import { Component, Input, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
import { TdChartOptionsService, TdSeriesComponent } from '@covalent/echarts/base';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
var TdChartSeriesGraphComponent = /** @class */ (function (_super) {
__extends(TdChartSeriesGraphComponent, _super);
function TdChartSeriesGraphComponent(_optionsService) {
return _super.call(this, 'graph', _optionsService) || this;
}
/**
* @return {?}
*/
TdChartSeriesGraphComponent.prototype.getConfig = /**
* @return {?}
*/
function () {
return {
legendHoverLink: this.legendHoverLink,
coordinateSystem: this.coordinateSystem,
xAxisIndex: this.xAxisIndex,
yAxisIndex: this.yAxisIndex,
polarIndex: this.polarIndex,
calendarIndex: this.calendarIndex,
geoIndex: this.geoIndex,
hoverAnimation: this.hoverAnimation,
circular: this.circular,
force: this.force,
layout: this.layout,
nodeScaleRatio: this.nodeScaleRatio,
draggable: this.draggable,
symbol: this.symbol,
symbolSize: this.symbolSize,
symbolRotate: this.symbolRotate,
symbolKeepAspect: this.symbolKeepAspect,
symbolOffset: this.symbolOffset,
focusNodeAdjacency: this.focusNodeAdjacency,
edgeSymbol: this.edgeSymbol,
edgeSymbolSize: this.edgeSymbolSize,
cursor: this.cursor,
roam: this.roam,
itemStyle: this.itemStyle,
lineStyle: this.lineStyle,
label: this.label,
edgeLabel: this.edgeLabel,
emphasis: this.emphasis,
categories: this.categories,
nodes: this.nodes,
links: this.links,
edges: this.edges,
markPoint: this.markPoint,
markLine: this.markLine,
markArea: this.markArea,
zlevel: this.zlevel,
z: this.z,
silent: this.silent,
left: this.left,
top: this.top,
right: this.right,
bottom: this.bottom,
width: this.width,
height: this.height,
};
};
TdChartSeriesGraphComponent.decorators = [
{ type: Component, args: [{
selector: 'td-chart-series[td-graph]',
template: '',
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [{
provide: TdSeriesComponent, useExisting: forwardRef(function () { return TdChartSeriesGraphComponent; }),
}]
}] }
];
/** @nocollapse */
TdChartSeriesGraphComponent.ctorParameters = function () { return [
{ type: TdChartOptionsService }
]; };
TdChartSeriesGraphComponent.propDecorators = {
legendHoverLink: [{ type: Input, args: ['legendHoverLink',] }],
coordinateSystem: [{ type: Input, args: ['coordinateSystem',] }],
xAxisIndex: [{ type: Input, args: ['xAxisIndex',] }],
yAxisIndex: [{ type: Input, args: ['yAxisIndex',] }],
polarIndex: [{ type: Input, args: ['polarIndex',] }],
calendarIndex: [{ type: Input, args: ['calendarIndex',] }],
geoIndex: [{ type: Input, args: ['geoIndex',] }],
hoverAnimation: [{ type: Input, args: ['hoverAnimation',] }],
circular: [{ type: Input, args: ['circular',] }],
force: [{ type: Input, args: ['force',] }],
layout: [{ type: Input, args: ['layout',] }],
nodeScaleRatio: [{ type: Input, args: ['nodeScaleRatio',] }],
draggable: [{ type: Input, args: ['draggable',] }],
symbol: [{ type: Input, args: ['symbol',] }],
symbolSize: [{ type: Input, args: ['symbolSize',] }],
symbolRotate: [{ type: Input, args: ['symbolRotate',] }],
symbolKeepAspect: [{ type: Input, args: ['symbolKeepAspect',] }],
symbolOffset: [{ type: Input, args: ['symbolOffset',] }],
focusNodeAdjacency: [{ type: Input, args: ['focusNodeAdjacency',] }],
edgeSymbol: [{ type: Input, args: ['edgeSymbol',] }],
edgeSymbolSize: [{ type: Input, args: ['edgeSymbolSize',] }],
cursor: [{ type: Input, args: ['cursor',] }],
roam: [{ type: Input, args: ['roam',] }],
initialTreeDepth: [{ type: Input, args: ['initialTreeDepth',] }],
itemStyle: [{ type: Input, args: ['itemStyle',] }],
lineStyle: [{ type: Input, args: ['lineStyle',] }],
label: [{ type: Input, args: ['label',] }],
edgeLabel: [{ type: Input, args: ['edgeLabel',] }],
emphasis: [{ type: Input, args: ['emphasis',] }],
categories: [{ type: Input, args: ['categories',] }],
nodes: [{ type: Input, args: ['nodes',] }],
links: [{ type: Input, args: ['links',] }],
edges: [{ type: Input, args: ['edges',] }],
markPoint: [{ type: Input, args: ['markPoint',] }],
markLine: [{ type: Input, args: ['markLine',] }],
markArea: [{ type: Input, args: ['markArea',] }],
zlevel: [{ type: Input, args: ['zlevel',] }],
z: [{ type: Input, args: ['z',] }],
silent: [{ type: Input, args: ['silent',] }],
left: [{ type: Input, args: ['left',] }],
top: [{ type: Input, args: ['top',] }],
right: [{ type: Input, args: ['right',] }],
bottom: [{ type: Input, args: ['bottom',] }],
width: [{ type: Input, args: ['width',] }],
height: [{ type: Input, args: ['height',] }]
};
return TdChartSeriesGraphComponent;
}(TdSeriesComponent));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/** @type {?} */
var GRAPH_MODULE_COMPONENTS = [
TdChartSeriesGraphComponent,
];
var CovalentGraphEchartsModule = /** @class */ (function () {
function CovalentGraphEchartsModule() {
}
CovalentGraphEchartsModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
],
declarations: [
GRAPH_MODULE_COMPONENTS,
],
exports: [
GRAPH_MODULE_COMPONENTS,
],
},] }
];
return CovalentGraphEchartsModule;
}());
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
export { GRAPH_MODULE_COMPONENTS, CovalentGraphEchartsModule, TdChartSeriesGraphComponent };
//# sourceMappingURL=covalent-echarts-graph.js.map