@visionaris-bruno/vs-echarts 6.0.0 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,10 +16,6 @@ Para instalar la librería en tu proyecto Angular, utiliza npm:
16
16
  npm install @visionaris-bruno/vs-echarts
17
17
  ```
18
18
 
19
- > **Nota para el equipo de Visionaris**: Para desarrollo local vinculando el código fuente (hot-reload), recuerda:
20
- > 1. Ejecutar `npm install` en la raíz de `reusable/vs-ng-library` para asegurar que las dependencias de la librería estén presentes.
21
- > 2. Consultar los archivos `tsconfig.dev.json` de la aplicación principal para verificar los mapeos de rutas (`paths`).
22
-
23
19
  ## 🛠️ Uso Básico
24
20
 
25
21
  ```typescript
@@ -40,3 +36,10 @@ import { EchartsRingComponent } from '@visionaris-bruno/vs-echarts';
40
36
  ```
41
37
 
42
38
  ## 📖 Documentación Detallada
39
+
40
+ - [Arquitectura y Patrón Builder](docs/architecture.md)
41
+
42
+ ## 💻 Desarrollo Local
43
+
44
+ Para desarrollo local y vinculación de código fuente (hot-reload), consulta la [Guía de Desarrollo Local](docs/development.md).
45
+
@@ -2,7 +2,7 @@ import { provideEchartsCore, NgxEchartsDirective } from 'ngx-echarts';
2
2
  import * as echarts from 'echarts/core';
3
3
  import { BarChart, PieChart, LineChart } from 'echarts/charts';
4
4
  import { TitleComponent, TooltipComponent, GridComponent, LegendComponent, GraphicComponent, ToolboxComponent, PolarComponent } from 'echarts/components';
5
- import { CanvasRenderer } from 'echarts/renderers';
5
+ import { CanvasRenderer, SVGRenderer } from 'echarts/renderers';
6
6
  import * as i0 from '@angular/core';
7
7
  import { EventEmitter, Output, Input, ViewChild, Directive, Component } from '@angular/core';
8
8
  import { ReplaySubject } from 'rxjs';
@@ -47,6 +47,7 @@ function initializeEcharts() {
47
47
  GridComponent,
48
48
  LegendComponent,
49
49
  CanvasRenderer,
50
+ SVGRenderer,
50
51
  GraphicComponent,
51
52
  ToolboxComponent,
52
53
  PolarComponent,
@@ -155,8 +156,16 @@ class BaseEchartsComponent {
155
156
  /** Estado de selección para filtros cruzados */
156
157
  selectedCategoryIndex = null;
157
158
  selectedSeriesIndex = null;
159
+ /** Opciones de inicializacion de echarts
160
+ *
161
+ * NgxEchartsDirective.initOpts
162
+ */
163
+ initOptions = {
164
+ renderer: 'svg', // svg se visualiza mejor en el reescalado de tableros.
165
+ };
158
166
  /** Opciones configuradas para ngx-echarts */
159
167
  chartOptions = {};
168
+ mergeOptions = {};
160
169
  constructor() {
161
170
  this.updateSubscription = this.updateSubject.pipe(debounceTime(150)).subscribe(options => {
162
171
  this.updateOptions(options);
@@ -175,7 +184,7 @@ class BaseEchartsComponent {
175
184
  onChartInit(instance) {
176
185
  this.chartInstance = instance;
177
186
  this.setupBaseInteractions();
178
- this.updateChartOptions();
187
+ this.updateChartOptions({ notMerge: true });
179
188
  }
180
189
  /**
181
190
  * Configura interacciones base como el clic en el fondo para limpiar selección.
@@ -261,7 +270,7 @@ class BaseEchartsComponent {
261
270
  */
262
271
  onInputChanges(changes) {
263
272
  if (changes['data'] || changes['optionsOverrides'] || changes['palette'] || changes['colorResolver'] || changes['valueFormatter']) {
264
- this.updateChartOptions();
273
+ this.updateChartOptions({ notMerge: true });
265
274
  }
266
275
  }
267
276
  /**
@@ -614,13 +623,13 @@ function getCommons(opts) {
614
623
  *
615
624
  */
616
625
  class RingBuilder {
617
- product;
626
+ baseProduct;
618
627
  valueFormatter = (value) => value.toLocaleString();
619
628
  palette = [];
620
629
  colorResolver;
621
630
  result = {};
622
- constructor(product) {
623
- this.product = product;
631
+ constructor(baseProduct) {
632
+ this.baseProduct = baseProduct;
624
633
  }
625
634
  reset() {
626
635
  this.result = {};
@@ -770,7 +779,7 @@ class VSECDirector {
770
779
  this.builder.setValueFormatter(valueFormatter);
771
780
  this.builder.setPalette(palette);
772
781
  this.builder.setValueFormatter(valueFormatter);
773
- const product = this.builder.product;
782
+ const product = this.builder.baseProduct;
774
783
  const seriesOverrides = merge$1(product.baseOptions.series, overrides[product.chartKey].series);
775
784
  // chart components
776
785
  this.builder.addCommons();
@@ -792,7 +801,7 @@ class VSECDirector {
792
801
  this.builder.setValueFormatter(valueFormatter);
793
802
  this.builder.setPalette(palette);
794
803
  this.builder.setValueFormatter(valueFormatter);
795
- const product = this.builder.product;
804
+ const product = this.builder.baseProduct;
796
805
  const seriesOverrides = merge$1({}, product.baseOptions.series, overrides[product.chartKey].series);
797
806
  // chart components
798
807
  this.builder.addCommons();
@@ -815,7 +824,7 @@ class VSECDirector {
815
824
  this.builder.setValueFormatter(valueFormatter);
816
825
  this.builder.setPalette(palette);
817
826
  this.builder.setValueFormatter(valueFormatter);
818
- const product = this.builder.product;
827
+ const product = this.builder.baseProduct;
819
828
  const seriesOverrides = merge$1({}, product.baseOptions.series, overrides[product.chartKey].series);
820
829
  // chart components
821
830
  this.builder.addCommons();
@@ -832,7 +841,7 @@ class VSECDirector {
832
841
  this.builder.setValueFormatter(valueFormatter);
833
842
  this.builder.setPalette(palette);
834
843
  this.builder.setColorResolver(colorResolver);
835
- const product = this.builder.product;
844
+ const product = this.builder.baseProduct;
836
845
  const seriesOverrides = merge$1({}, product.baseOptions.series, overrides[product.chartKey].series);
837
846
  // chart components
838
847
  this.builder.addCommons();
@@ -876,13 +885,13 @@ class EchartsRingComponent extends BaseEchartsComponent {
876
885
  animationType: 'scale',
877
886
  animationEasing: 'elasticOut',
878
887
  };
879
- product = {
888
+ baseProduct = {
880
889
  chartKey: 'ring',
881
890
  baseOptions: {
882
891
  series: this.baseSeriesOptions,
883
892
  }
884
893
  };
885
- builder = new RingBuilder(this.product);
894
+ builder = new RingBuilder(this.baseProduct);
886
895
  director = new VSECDirector(this.builder);
887
896
  lastSelectedSeriesIndex = null;
888
897
  lastSelectedDataIndex = null;
@@ -973,7 +982,8 @@ class EchartsRingComponent extends BaseEchartsComponent {
973
982
  this.currentGraphicText = text;
974
983
  this.updateChartOptions();
975
984
  }
976
- updateChartOptions() {
985
+ updateChartOptions(opts) {
986
+ const notMerge = opts?.notMerge ?? false;
977
987
  if (!this.chartInstance)
978
988
  return;
979
989
  if (!this.data)
@@ -1014,18 +1024,21 @@ class EchartsRingComponent extends BaseEchartsComponent {
1014
1024
  selected: { ...this.currentLegendSelected }
1015
1025
  };
1016
1026
  }
1017
- // Gatillar actualización en ngx-echarts
1018
- this.triggerUpdate(options);
1027
+ if (notMerge) {
1028
+ // Gatillar actualización en ngx-echarts
1029
+ this.triggerUpdate(options);
1030
+ }
1031
+ this.mergeOptions = { ...options };
1019
1032
  }
1020
1033
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EchartsRingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1021
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EchartsRingComponent, isStandalone: true, selector: "vs-echarts-ring", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" \n echarts \n [options]=\"chartOptions\" \n [autoResize]=\"true\" \n (chartInit)=\"onChartInit($event)\" \n (chartClick)=\"onChartClick($event)\" \n (chartMouseOver)=\"onChartMouseOver($event)\" \n (chartMouseOut)=\"onChartMouseOut($event)\" \n (chartLegendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>\n ", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1034
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EchartsRingComponent, isStandalone: true, selector: "vs-echarts-ring", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" \n echarts \n [options]=\"chartOptions\" \n [merge]=\"mergeOptions\"\n [autoResize]=\"true\" \n (chartInit)=\"onChartInit($event)\" \n (chartClick)=\"onChartClick($event)\" \n (chartMouseOver)=\"onChartMouseOver($event)\" \n (chartMouseOut)=\"onChartMouseOut($event)\" \n (chartLegendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>\n ", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1022
1035
  }
1023
1036
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EchartsRingComponent, decorators: [{
1024
1037
  type: Component,
1025
1038
  args: [{ selector: 'vs-echarts-ring', standalone: true, imports: [
1026
1039
  CommonModule,
1027
1040
  NgxEchartsDirective,
1028
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" \n echarts \n [options]=\"chartOptions\" \n [autoResize]=\"true\" \n (chartInit)=\"onChartInit($event)\" \n (chartClick)=\"onChartClick($event)\" \n (chartMouseOver)=\"onChartMouseOver($event)\" \n (chartMouseOut)=\"onChartMouseOut($event)\" \n (chartLegendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>\n ", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1041
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" \n echarts \n [options]=\"chartOptions\" \n [merge]=\"mergeOptions\"\n [autoResize]=\"true\" \n (chartInit)=\"onChartInit($event)\" \n (chartClick)=\"onChartClick($event)\" \n (chartMouseOver)=\"onChartMouseOver($event)\" \n (chartMouseOut)=\"onChartMouseOut($event)\" \n (chartLegendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>\n ", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1029
1042
  }], ctorParameters: () => [] });
1030
1043
 
1031
1044
  /**
@@ -1036,14 +1049,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImpo
1036
1049
  * Puede verse utilizado en graficos como Lineas y Bars. Siempre que se pueda priorizar utilizar este.
1037
1050
  */
1038
1051
  class EChartBuilder {
1039
- product = undefined;
1052
+ baseProduct = undefined;
1040
1053
  valueFormatter = (value) => value.toLocaleString();
1041
1054
  palette = [];
1042
1055
  // TODO: Hay que implementar un valor por defecto.
1043
1056
  colorResolver;
1044
1057
  result = {};
1045
- constructor(product) {
1046
- this.product = product;
1058
+ constructor(baseProduct) {
1059
+ this.baseProduct = baseProduct;
1047
1060
  }
1048
1061
  reset() {
1049
1062
  this.result = {};
@@ -1242,13 +1255,13 @@ class EchartsBarComponent extends BaseEchartsComponent {
1242
1255
  }
1243
1256
  };
1244
1257
  // va a tener que estar en el base como "abstract".
1245
- product = {
1258
+ baseProduct = {
1246
1259
  chartKey: 'bar',
1247
1260
  baseOptions: {
1248
1261
  series: this.baseSeriesOptions,
1249
1262
  }
1250
1263
  };
1251
- builder = new EChartBuilder(this.product);
1264
+ builder = new EChartBuilder(this.baseProduct);
1252
1265
  director = new VSECDirector(this.builder);
1253
1266
  constructor() {
1254
1267
  super();
@@ -1356,14 +1369,14 @@ class EchartsBarComponent extends BaseEchartsComponent {
1356
1369
  }
1357
1370
  }
1358
1371
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EchartsBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1359
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EchartsBarComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1372
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EchartsBarComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1360
1373
  }
1361
1374
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EchartsBarComponent, decorators: [{
1362
1375
  type: Component,
1363
1376
  args: [{ selector: 'vs-echarts-bar', standalone: true, imports: [
1364
1377
  CommonModule,
1365
1378
  NgxEchartsDirective,
1366
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1379
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1367
1380
  }], ctorParameters: () => [] });
1368
1381
 
1369
1382
  class EChartsHBarComponent extends EchartsBarComponent {
@@ -1373,13 +1386,13 @@ class EChartsHBarComponent extends EchartsBarComponent {
1373
1386
  borderRadius: [0, 4, 4, 0],
1374
1387
  }
1375
1388
  });
1376
- variantProduct = {
1389
+ variantBaseProduct = {
1377
1390
  chartKey: 'hBar',
1378
1391
  baseOptions: {
1379
1392
  series: this.variantSeriesOptionsBase,
1380
1393
  }
1381
1394
  };
1382
- builder = new EChartBuilder(this.variantProduct);
1395
+ builder = new EChartBuilder(this.variantBaseProduct);
1383
1396
  director = new VSECDirector(this.builder);
1384
1397
  make(makeOpts) {
1385
1398
  makeOpts.axisTypes = {
@@ -1389,14 +1402,14 @@ class EChartsHBarComponent extends EchartsBarComponent {
1389
1402
  this.director.makeBar(this.data, this.optionsOverrides, makeOpts);
1390
1403
  }
1391
1404
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsHBarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1392
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsHBarComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1405
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsHBarComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1393
1406
  }
1394
1407
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsHBarComponent, decorators: [{
1395
1408
  type: Component,
1396
1409
  args: [{ selector: 'vs-echarts-bar', standalone: true, imports: [
1397
1410
  CommonModule,
1398
1411
  NgxEchartsDirective,
1399
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1412
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1400
1413
  }] });
1401
1414
 
1402
1415
  class EChartsBarStackedComponent extends EchartsBarComponent {
@@ -1410,23 +1423,23 @@ class EChartsBarStackedComponent extends EchartsBarComponent {
1410
1423
  focus: 'series',
1411
1424
  }
1412
1425
  });
1413
- variantProduct = {
1426
+ variantBaseProduct = {
1414
1427
  chartKey: 'barStacked',
1415
1428
  baseOptions: {
1416
1429
  series: this.variantSeriesOptionsBase,
1417
1430
  }
1418
1431
  };
1419
- builder = new EChartBuilder(this.variantProduct);
1432
+ builder = new EChartBuilder(this.variantBaseProduct);
1420
1433
  director = new VSECDirector(this.builder);
1421
1434
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsBarStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1422
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsBarStackedComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1435
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsBarStackedComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1423
1436
  }
1424
1437
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsBarStackedComponent, decorators: [{
1425
1438
  type: Component,
1426
1439
  args: [{ selector: 'vs-echarts-bar', standalone: true, imports: [
1427
1440
  CommonModule,
1428
1441
  NgxEchartsDirective,
1429
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1442
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1430
1443
  }] });
1431
1444
 
1432
1445
  class EChartsHBarStackedComponent extends EchartsBarComponent {
@@ -1440,13 +1453,13 @@ class EChartsHBarStackedComponent extends EchartsBarComponent {
1440
1453
  focus: 'series',
1441
1454
  }
1442
1455
  });
1443
- variantProduct = {
1456
+ variantBaseProduct = {
1444
1457
  chartKey: 'hBarStacked',
1445
1458
  baseOptions: {
1446
1459
  series: this.variantSeriesOptionsBase,
1447
1460
  }
1448
1461
  };
1449
- builder = new EChartBuilder(this.variantProduct);
1462
+ builder = new EChartBuilder(this.variantBaseProduct);
1450
1463
  director = new VSECDirector(this.builder);
1451
1464
  make(makeOpts) {
1452
1465
  makeOpts.axisTypes = {
@@ -1456,14 +1469,14 @@ class EChartsHBarStackedComponent extends EchartsBarComponent {
1456
1469
  this.director.makeBar(this.data, this.optionsOverrides, makeOpts);
1457
1470
  }
1458
1471
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsHBarStackedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1459
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsHBarStackedComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1472
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsHBarStackedComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1460
1473
  }
1461
1474
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsHBarStackedComponent, decorators: [{
1462
1475
  type: Component,
1463
1476
  args: [{ selector: 'vs-echarts-bar', standalone: true, imports: [
1464
1477
  CommonModule,
1465
1478
  NgxEchartsDirective,
1466
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1479
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1467
1480
  }] });
1468
1481
 
1469
1482
  class EChartsBarStackedRadialComponent extends EchartsBarComponent {
@@ -1478,26 +1491,26 @@ class EChartsBarStackedRadialComponent extends EchartsBarComponent {
1478
1491
  },
1479
1492
  coordinateSystem: 'polar',
1480
1493
  });
1481
- variantProduct = {
1494
+ variantBaseProduct = {
1482
1495
  chartKey: 'barStackedRadial',
1483
1496
  baseOptions: {
1484
1497
  series: this.variantSeriesOptionsBase,
1485
1498
  }
1486
1499
  };
1487
- builder = new EChartBuilder(this.variantProduct);
1500
+ builder = new EChartBuilder(this.variantBaseProduct);
1488
1501
  director = new VSECDirector(this.builder);
1489
1502
  make(makeOpts) {
1490
1503
  this.director.makeBarRadial(this.data, this.optionsOverrides, makeOpts);
1491
1504
  }
1492
1505
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsBarStackedRadialComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1493
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsBarStackedRadialComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1506
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsBarStackedRadialComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
1494
1507
  }
1495
1508
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsBarStackedRadialComponent, decorators: [{
1496
1509
  type: Component,
1497
1510
  args: [{ selector: 'vs-echarts-bar', standalone: true, imports: [
1498
1511
  CommonModule,
1499
1512
  NgxEchartsDirective,
1500
- ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1513
+ ], providers: [provideVSEcharts()], template: "<div class=\"echarts-container\" echarts [initOpts]=\"initOptions\" [options]=\"chartOptions\" [autoResize]=\"true\" (chartInit)=\"onChartInit($event)\" (chartClick)=\"onChartClick($event)\" (legendSelectChanged)=\"onLegendSelectChanged($event)\"></div>\n", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"] }]
1501
1514
  }] });
1502
1515
 
1503
1516
  /**
@@ -1608,13 +1621,13 @@ class EchartsLineComponent extends BaseEchartsComponent {
1608
1621
  }
1609
1622
  },
1610
1623
  };
1611
- product = {
1624
+ baseProduct = {
1612
1625
  chartKey: 'line',
1613
1626
  baseOptions: {
1614
1627
  series: this.baseSeriesOptions,
1615
1628
  }
1616
1629
  };
1617
- builder = new EChartBuilder(this.product);
1630
+ builder = new EChartBuilder(this.baseProduct);
1618
1631
  director = new VSECDirector(this.builder);
1619
1632
  constructor() {
1620
1633
  super();
@@ -1673,13 +1686,13 @@ class EChartsAreaComponent extends EchartsLineComponent {
1673
1686
  smooth: true,
1674
1687
  areaStyle: {},
1675
1688
  });
1676
- variantProduct = {
1689
+ variantBaseProduct = {
1677
1690
  chartKey: 'area',
1678
1691
  baseOptions: {
1679
1692
  series: this.variantSeriesOptionsBase,
1680
1693
  }
1681
1694
  };
1682
- builder = new EChartBuilder(this.variantProduct);
1695
+ builder = new EChartBuilder(this.variantBaseProduct);
1683
1696
  director = new VSECDirector(this.builder);
1684
1697
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1685
1698
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsAreaComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div\n class=\"echarts-container\"\n echarts\n [options]=\"chartOptions\"\n [autoResize]=\"true\"\n (chartInit)=\"onChartInit($event)\"\n (chartClick)=\"onChartClick($event)\"\n (legendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });
@@ -1698,13 +1711,13 @@ class EChartsAreaStackComponent extends EchartsLineComponent {
1698
1711
  areaStyle: {},
1699
1712
  stack: 'total',
1700
1713
  });
1701
- variantProduct = {
1714
+ variantBaseProduct = {
1702
1715
  chartKey: 'areaStack',
1703
1716
  baseOptions: {
1704
1717
  series: this.variantSeriesOptionsBase,
1705
1718
  }
1706
1719
  };
1707
- builder = new EChartBuilder(this.variantProduct);
1720
+ builder = new EChartBuilder(this.variantBaseProduct);
1708
1721
  director = new VSECDirector(this.builder);
1709
1722
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EChartsAreaStackComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1710
1723
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: EChartsAreaStackComponent, isStandalone: true, selector: "vs-echarts-bar", providers: [provideVSEcharts()], usesInheritance: true, ngImport: i0, template: "<div\n class=\"echarts-container\"\n echarts\n [options]=\"chartOptions\"\n [autoResize]=\"true\"\n (chartInit)=\"onChartInit($event)\"\n (chartClick)=\"onChartClick($event)\"\n (legendSelectChanged)=\"onLegendSelectChanged($event)\"\n></div>", styles: [".echarts-container{width:100%;height:100%;position:relative}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: NgxEchartsDirective, selector: "echarts, [echarts]", inputs: ["options", "theme", "initOpts", "merge", "autoResize", "loading", "loadingType", "loadingOpts"], outputs: ["chartInit", "optionsError", "chartClick", "chartDblClick", "chartMouseDown", "chartMouseMove", "chartMouseUp", "chartMouseOver", "chartMouseOut", "chartGlobalOut", "chartContextMenu", "chartHighlight", "chartDownplay", "chartSelectChanged", "chartLegendSelectChanged", "chartLegendSelected", "chartLegendUnselected", "chartLegendLegendSelectAll", "chartLegendLegendInverseSelect", "chartLegendScroll", "chartDataZoom", "chartDataRangeSelected", "chartGraphRoam", "chartGeoRoam", "chartTreeRoam", "chartTimelineChanged", "chartTimelinePlayChanged", "chartRestore", "chartDataViewChanged", "chartMagicTypeChanged", "chartGeoSelectChanged", "chartGeoSelected", "chartGeoUnselected", "chartAxisAreaSelected", "chartBrush", "chartBrushEnd", "chartBrushSelected", "chartGlobalCursorTaken", "chartRendered", "chartFinished"], exportAs: ["echarts"] }] });