UNPKG

@covalent/echarts

Version:
155 lines (148 loc) 5.83 kB
import { CommonModule } from '@angular/common'; import 'echarts/lib/chart/line'; 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 */ class TdChartSeriesLineComponent extends TdSeriesComponent { /** * @param {?} _optionsService */ constructor(_optionsService) { super('line', _optionsService); } /** * @return {?} */ getConfig() { 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(() => TdChartSeriesLineComponent), }] }] } ]; /** @nocollapse */ TdChartSeriesLineComponent.ctorParameters = () => [ { 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',] }] }; /** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc */ /** @type {?} */ const LINE_MODULE_COMPONENTS = [ TdChartSeriesLineComponent, ]; class CovalentLineEchartsModule { } CovalentLineEchartsModule.decorators = [ { type: NgModule, args: [{ imports: [ CommonModule, ], declarations: [ LINE_MODULE_COMPONENTS, ], exports: [ LINE_MODULE_COMPONENTS, ], },] } ]; /** * @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