intelica-library-ui 0.1.107 → 0.1.108

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.
@@ -2612,6 +2612,7 @@ class EchartComponent {
2612
2612
  platformId;
2613
2613
  config;
2614
2614
  id;
2615
+ renderer = "canvas";
2615
2616
  containerStyle = {
2616
2617
  width: "100%",
2617
2618
  height: "400px",
@@ -2647,7 +2648,7 @@ class EchartComponent {
2647
2648
  }
2648
2649
  initChart(chartElement) {
2649
2650
  const observer = new ResizeObserver(() => this.resize());
2650
- this.chart = echarts.init(chartElement);
2651
+ this.chart = echarts.init(chartElement, null, { renderer: this.renderer });
2651
2652
  this.chart.setOption(this.config);
2652
2653
  this.chart.on("click", params => {
2653
2654
  this.event.emit(params);
@@ -2655,7 +2656,7 @@ class EchartComponent {
2655
2656
  observer.observe(chartElement);
2656
2657
  }
2657
2658
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartComponent, deps: [{ token: i0.ElementRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
2658
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EchartComponent, isStandalone: true, selector: "intelica-echart", inputs: { config: "config", id: "id", containerStyle: "containerStyle" }, outputs: { event: "event" }, ngImport: i0, template: "<div [id]=\"id + '_plot'\" class=\"chart\" [ngStyle]=\"containerStyle\"></div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
2659
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.1", type: EchartComponent, isStandalone: true, selector: "intelica-echart", inputs: { config: "config", id: "id", renderer: "renderer", containerStyle: "containerStyle" }, outputs: { event: "event" }, ngImport: i0, template: "<div [id]=\"id + '_plot'\" class=\"chart\" [ngStyle]=\"containerStyle\"></div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
2659
2660
  }
2660
2661
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartComponent, decorators: [{
2661
2662
  type: Component,
@@ -2667,6 +2668,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
2667
2668
  type: Input
2668
2669
  }], id: [{
2669
2670
  type: Input
2671
+ }], renderer: [{
2672
+ type: Input
2670
2673
  }], containerStyle: [{
2671
2674
  type: Input
2672
2675
  }], event: [{