@covalent/echarts
Version:
Teradata Charts built on echarts
161 lines (154 loc) • 6.48 kB
JavaScript
import { CommonModule } from '@angular/common';
import 'echarts/lib/chart/line';
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 TdChartSeriesLineComponent = /** @class */ (function (_super) {
__extends(TdChartSeriesLineComponent, _super);
function TdChartSeriesLineComponent(_optionsService) {
return _super.call(this, 'line', _optionsService) || this;
}
/**
* @return {?}
*/
TdChartSeriesLineComponent.prototype.getConfig = /**
* @return {?}
*/
function () {
return {
coordinateSystem: this.coordinateSystem,
xAxisIndex: this.xAxisIndex,
yAxisIndex: this.yAxisIndex,
polarIndex: this.polarIndex,
symbol: this.symbol,
symbolSize: this.symbolSize,
symbolRotate: this.symbolRotate,
symbolKeepAspect: this.symbolKeepAspect,
symbolOffset: this.symbolOffset,
showSymbol: this.showSymbol,
showAllSymbol: this.showAllSymbol,
hoverAnimation: this.hoverAnimation,
legendHoverLink: this.legendHoverLink,
stack: this.stack,
cursor: this.cursor,
connectNulls: this.connectNulls,
clipOverflow: this.clipOverflow,
step: this.step,
label: this.label,
itemStyle: this.itemStyle,
lineStyle: this.lineStyle,
areaStyle: this.areaStyle,
emphasis: this.emphasis,
smooth: this.smooth,
smoothMonotone: this.smoothMonotone,
sampling: this.sampling,
dimensions: this.dimensions,
encode: this.encode,
seriesLayoutBy: this.seriesLayoutBy,
datasetIndex: this.datasetIndex,
markPoint: this.markPoint,
markLine: this.markLine,
markArea: this.markArea,
zlevel: this.zlevel,
z: this.z,
silent: this.silent,
};
};
TdChartSeriesLineComponent.decorators = [
{ type: Component, args: [{
selector: 'td-chart-series[td-line]',
template: '',
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [{
provide: TdSeriesComponent, useExisting: forwardRef(function () { return TdChartSeriesLineComponent; }),
}]
}] }
];
/** @nocollapse */
TdChartSeriesLineComponent.ctorParameters = function () { return [
{ type: TdChartOptionsService }
]; };
TdChartSeriesLineComponent.propDecorators = {
coordinateSystem: [{ type: Input, args: ['coordinateSystem',] }],
xAxisIndex: [{ type: Input, args: ['xAxisIndex',] }],
yAxisIndex: [{ type: Input, args: ['yAxisIndex',] }],
polarIndex: [{ type: Input, args: ['polarIndex',] }],
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',] }],
showSymbol: [{ type: Input, args: ['showSymbol',] }],
showAllSymbol: [{ type: Input, args: ['showAllSymbol',] }],
hoverAnimation: [{ type: Input, args: ['hoverAnimation',] }],
legendHoverLink: [{ type: Input, args: ['legendHoverLink',] }],
stack: [{ type: Input, args: ['stack',] }],
cursor: [{ type: Input, args: ['cursor',] }],
connectNulls: [{ type: Input, args: ['connectNulls',] }],
clipOverflow: [{ type: Input, args: ['clipOverflow',] }],
step: [{ type: Input, args: ['step',] }],
label: [{ type: Input, args: ['label',] }],
itemStyle: [{ type: Input, args: ['itemStyle',] }],
lineStyle: [{ type: Input, args: ['lineStyle',] }],
areaStyle: [{ type: Input, args: ['areaStyle',] }],
emphasis: [{ type: Input, args: ['emphasis',] }],
smooth: [{ type: Input, args: ['smooth',] }],
smoothMonotone: [{ type: Input, args: ['smoothMonotone',] }],
sampling: [{ type: Input, args: ['sampling',] }],
dimensions: [{ type: Input, args: ['dimensions',] }],
encode: [{ type: Input, args: ['encode',] }],
seriesLayoutBy: [{ type: Input, args: ['seriesLayoutBy',] }],
datasetIndex: [{ type: Input, args: ['datasetIndex',] }],
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',] }]
};
return TdChartSeriesLineComponent;
}(TdSeriesComponent));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/** @type {?} */
var LINE_MODULE_COMPONENTS = [
TdChartSeriesLineComponent,
];
var CovalentLineEchartsModule = /** @class */ (function () {
function CovalentLineEchartsModule() {
}
CovalentLineEchartsModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
],
declarations: [
LINE_MODULE_COMPONENTS,
],
exports: [
LINE_MODULE_COMPONENTS,
],
},] }
];
return CovalentLineEchartsModule;
}());
/**
* @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 { LINE_MODULE_COMPONENTS, CovalentLineEchartsModule, TdChartSeriesLineComponent };
//# sourceMappingURL=covalent-echarts-line.js.map