intelica-library-ui 0.1.65 → 0.1.66

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.
@@ -2823,10 +2823,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
2823
2823
 
2824
2824
  class EchartService {
2825
2825
  getDefaultSeriesColors() {
2826
- return ['#FF5733', 'red', '#FFBD33', '#FF33A1', '#33FF57', '#3357FF'];
2826
+ return {
2827
+ mastercard: "#ff7f00",
2828
+ visa: "#17375E",
2829
+ amex: "#348AD5",
2830
+ orange: "#ff7f00",
2831
+ blue: "#17375E",
2832
+ gray: "#D3D3D3",
2833
+ gray3: "#a6a5a1",
2834
+ };
2827
2835
  }
2828
2836
  getTooltipCssText() {
2829
- return 'border-color: red; font-family: Consolas, monospace;';
2837
+ return `border-color: ${this.getDefaultSeriesColors()["blue"]};`;
2830
2838
  }
2831
2839
  getTooltipFormatter(htmlContent) {
2832
2840
  return `
@@ -2849,23 +2857,27 @@ class EchartService {
2849
2857
  splitLine: {
2850
2858
  show: false,
2851
2859
  },
2860
+ axisLabel: {
2861
+ color: this.getDefaultSeriesColors()["blue"],
2862
+ fontSize: 12,
2863
+ },
2852
2864
  };
2853
2865
  return axis;
2854
2866
  }
2855
2867
  getRateDoughnutPie(data) {
2856
- const rateData = data.find((d) => d.name.toLowerCase() !== 'placeholder');
2868
+ const rateData = data.find(d => d.name.toLowerCase() !== "placeholder");
2857
2869
  return {
2858
2870
  tooltip: {
2859
- trigger: 'none',
2871
+ trigger: "none",
2860
2872
  },
2861
2873
  series: [
2862
2874
  {
2863
- name: 'RateDoughnutPie',
2864
- type: 'pie',
2875
+ name: "RateDoughnutPie",
2876
+ type: "pie",
2865
2877
  tooltip: {
2866
- trigger: 'none',
2878
+ trigger: "none",
2867
2879
  },
2868
- radius: ['70%', '60%'],
2880
+ radius: ["70%", "60%"],
2869
2881
  data: data,
2870
2882
  startAngle: 0,
2871
2883
  selectedMode: false,
@@ -2876,20 +2888,20 @@ class EchartService {
2876
2888
  return `${rateData.name}`;
2877
2889
  },
2878
2890
  color: rateData.itemStyle.color,
2879
- fontSize: '40',
2880
- position: 'center',
2891
+ fontSize: "40",
2892
+ position: "center",
2881
2893
  },
2882
2894
  },
2883
2895
  ],
2884
2896
  };
2885
2897
  }
2886
2898
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2887
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartService, providedIn: 'root' });
2899
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartService, providedIn: "root" });
2888
2900
  }
2889
2901
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EchartService, decorators: [{
2890
2902
  type: Injectable,
2891
2903
  args: [{
2892
- providedIn: 'root',
2904
+ providedIn: "root",
2893
2905
  }]
2894
2906
  }] });
2895
2907