@covalent/echarts
Version:
Teradata UI Platform Echarts Module
224 lines (219 loc) • 8.9 kB
JavaScript
import * as i0 from '@angular/core';
import { inject, forwardRef, ChangeDetectionStrategy, Component, Input, NgModule } from '@angular/core';
import { TdSeriesDirective, TdChartOptionsService } from '@covalent/echarts/base';
const _c0 = ["td-line", ""];
class TdChartSeriesLineComponent extends TdSeriesDirective {
coordinateSystem;
xAxisIndex;
yAxisIndex;
polarIndex;
symbol;
symbolSize;
symbolRotate;
symbolKeepAspect;
symbolOffset;
showSymbol;
showAllSymbol;
hoverAnimation;
legendHoverLink;
stack;
cursor;
connectNulls;
clipOverflow;
step;
label;
itemStyle;
lineStyle;
areaStyle;
emphasis;
smooth;
smoothMonotone;
sampling;
dimensions;
encode;
seriesLayoutBy;
datasetIndex;
markPoint;
markLine;
markArea;
zlevel;
z;
silent;
constructor() {
const _optionsService = inject(TdChartOptionsService);
super('line', _optionsService);
}
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,
};
}
static ɵfac = function TdChartSeriesLineComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdChartSeriesLineComponent)(); };
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdChartSeriesLineComponent, selectors: [["td-chart-series", "td-line", ""]], inputs: { config: "config", id: "id", name: "name", color: "color", data: "data", animation: "animation", animationThreshold: "animationThreshold", animationDuration: "animationDuration", animationEasing: "animationEasing", animationDelay: "animationDelay", animationDurationUpdate: "animationDurationUpdate", animationEasingUpdate: "animationEasingUpdate", animationDelayUpdate: "animationDelayUpdate", tooltip: "tooltip", coordinateSystem: "coordinateSystem", xAxisIndex: "xAxisIndex", yAxisIndex: "yAxisIndex", polarIndex: "polarIndex", symbol: "symbol", symbolSize: "symbolSize", symbolRotate: "symbolRotate", symbolKeepAspect: "symbolKeepAspect", symbolOffset: "symbolOffset", showSymbol: "showSymbol", showAllSymbol: "showAllSymbol", hoverAnimation: "hoverAnimation", legendHoverLink: "legendHoverLink", stack: "stack", cursor: "cursor", connectNulls: "connectNulls", clipOverflow: "clipOverflow", step: "step", label: "label", itemStyle: "itemStyle", lineStyle: "lineStyle", areaStyle: "areaStyle", emphasis: "emphasis", smooth: "smooth", smoothMonotone: "smoothMonotone", sampling: "sampling", dimensions: "dimensions", encode: "encode", seriesLayoutBy: "seriesLayoutBy", datasetIndex: "datasetIndex", markPoint: "markPoint", markLine: "markLine", markArea: "markArea", zlevel: "zlevel", z: "z", silent: "silent" }, features: [i0.ɵɵProvidersFeature([
{
provide: TdSeriesDirective,
useExisting: forwardRef(() => TdChartSeriesLineComponent),
},
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 0, vars: 0, template: function TdChartSeriesLineComponent_Template(rf, ctx) { }, encapsulation: 2, changeDetection: 0 });
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdChartSeriesLineComponent, [{
type: Component,
args: [{
selector: 'td-chart-series[td-line]',
template: '',
changeDetection: ChangeDetectionStrategy.OnPush,
inputs: [
'config',
'id',
'name',
'color',
'data',
'animation',
'animationThreshold',
'animationDuration',
'animationEasing',
'animationDelay',
'animationDurationUpdate',
'animationEasingUpdate',
'animationDelayUpdate',
'tooltip',
],
providers: [
{
provide: TdSeriesDirective,
useExisting: forwardRef(() => TdChartSeriesLineComponent),
},
],
}]
}], () => [], { coordinateSystem: [{
type: Input
}], xAxisIndex: [{
type: Input
}], yAxisIndex: [{
type: Input
}], polarIndex: [{
type: Input
}], symbol: [{
type: Input
}], symbolSize: [{
type: Input
}], symbolRotate: [{
type: Input
}], symbolKeepAspect: [{
type: Input
}], symbolOffset: [{
type: Input
}], showSymbol: [{
type: Input
}], showAllSymbol: [{
type: Input
}], hoverAnimation: [{
type: Input
}], legendHoverLink: [{
type: Input
}], stack: [{
type: Input
}], cursor: [{
type: Input
}], connectNulls: [{
type: Input
}], clipOverflow: [{
type: Input
}], step: [{
type: Input
}], label: [{
type: Input
}], itemStyle: [{
type: Input
}], lineStyle: [{
type: Input
}], areaStyle: [{
type: Input
}], emphasis: [{
type: Input
}], smooth: [{
type: Input
}], smoothMonotone: [{
type: Input
}], sampling: [{
type: Input
}], dimensions: [{
type: Input
}], encode: [{
type: Input
}], seriesLayoutBy: [{
type: Input
}], datasetIndex: [{
type: Input
}], markPoint: [{
type: Input
}], markLine: [{
type: Input
}], markArea: [{
type: Input
}], zlevel: [{
type: Input
}], z: [{
type: Input
}], silent: [{
type: Input
}] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdChartSeriesLineComponent, { className: "TdChartSeriesLineComponent", filePath: "line.component.ts", lineNumber: 99 }); })();
const LINE_MODULE_COMPONENTS = [TdChartSeriesLineComponent];
/**
* @deprecated This module is deprecated and will be removed in future versions.
* Please migrate to using standalone components as soon as possible.
*/
class CovalentLineEchartsModule {
static ɵfac = function CovalentLineEchartsModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentLineEchartsModule)(); };
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentLineEchartsModule });
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentLineEchartsModule, [{
type: NgModule,
args: [{
imports: [LINE_MODULE_COMPONENTS],
exports: [LINE_MODULE_COMPONENTS],
}]
}], null, null); })();
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentLineEchartsModule, { imports: [TdChartSeriesLineComponent], exports: [TdChartSeriesLineComponent] }); })();
/**
* Generated bundle index. Do not edit.
*/
export { CovalentLineEchartsModule, LINE_MODULE_COMPONENTS, TdChartSeriesLineComponent };
//# sourceMappingURL=covalent-echarts-line.mjs.map