@covalent/echarts
Version:
Teradata Charts built on echarts
151 lines (144 loc) • 6.11 kB
JavaScript
import { CommonModule } from '@angular/common';
import 'echarts/lib/chart/scatter';
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 TdChartSeriesScatterComponent = /** @class */ (function (_super) {
__extends(TdChartSeriesScatterComponent, _super);
function TdChartSeriesScatterComponent(_optionsService) {
return _super.call(this, 'scatter', _optionsService) || this;
}
/**
* @return {?}
*/
TdChartSeriesScatterComponent.prototype.getConfig = /**
* @return {?}
*/
function () {
return {
coordinateSystem: this.coordinateSystem,
xAxisIndex: this.xAxisIndex,
yAxisIndex: this.yAxisIndex,
polarIndex: this.polarIndex,
geoIndex: this.geoIndex,
calendarIndex: this.calendarIndex,
hoverAnimation: this.hoverAnimation,
legendHoverLink: this.legendHoverLink,
symbol: this.symbol,
symbolSize: this.symbolSize,
symbolRotate: this.symbolRotate,
symbolKeepAspect: this.symbolKeepAspect,
symbolOffset: this.symbolOffset,
large: this.large,
largeThreshold: this.largeThreshold,
cursor: this.cursor,
label: this.label,
itemStyle: this.itemStyle,
emphasis: this.emphasis,
progressive: this.progressive,
progressiveThreshold: this.progressiveThreshold,
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,
};
};
TdChartSeriesScatterComponent.decorators = [
{ type: Component, args: [{
selector: 'td-chart-series[td-scatter]',
template: '',
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [{
provide: TdSeriesComponent, useExisting: forwardRef(function () { return TdChartSeriesScatterComponent; }),
}]
}] }
];
/** @nocollapse */
TdChartSeriesScatterComponent.ctorParameters = function () { return [
{ type: TdChartOptionsService }
]; };
TdChartSeriesScatterComponent.propDecorators = {
coordinateSystem: [{ type: Input, args: ['coordinateSystem',] }],
xAxisIndex: [{ type: Input, args: ['xAxisIndex',] }],
yAxisIndex: [{ type: Input, args: ['yAxisIndex',] }],
polarIndex: [{ type: Input, args: ['polarIndex',] }],
geoIndex: [{ type: Input, args: ['geoIndex',] }],
calendarIndex: [{ type: Input, args: ['calendarIndex',] }],
hoverAnimation: [{ type: Input, args: ['hoverAnimation',] }],
legendHoverLink: [{ type: Input, args: ['legendHoverLink',] }],
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',] }],
large: [{ type: Input, args: ['large',] }],
largeThreshold: [{ type: Input, args: ['largeThreshold',] }],
cursor: [{ type: Input, args: ['cursor',] }],
label: [{ type: Input, args: ['label',] }],
itemStyle: [{ type: Input, args: ['itemStyle',] }],
emphasis: [{ type: Input, args: ['emphasis',] }],
progressive: [{ type: Input, args: ['progressive',] }],
progressiveThreshold: [{ type: Input, args: ['progressiveThreshold',] }],
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 TdChartSeriesScatterComponent;
}(TdSeriesComponent));
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
*/
/** @type {?} */
var SCATTER_MODULE_COMPONENTS = [
TdChartSeriesScatterComponent,
];
var CovalentScatterEchartsModule = /** @class */ (function () {
function CovalentScatterEchartsModule() {
}
CovalentScatterEchartsModule.decorators = [
{ type: NgModule, args: [{
imports: [
CommonModule,
],
declarations: [
SCATTER_MODULE_COMPONENTS,
],
exports: [
SCATTER_MODULE_COMPONENTS,
],
},] }
];
return CovalentScatterEchartsModule;
}());
/**
* @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 { SCATTER_MODULE_COMPONENTS, CovalentScatterEchartsModule, TdChartSeriesScatterComponent };
//# sourceMappingURL=covalent-echarts-scatter.js.map