ps-toolkit-ui 1.5.71 → 1.5.74

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.
@@ -7764,6 +7764,7 @@
7764
7764
 
7765
7765
  var ChartClass = /** @class */ (function () {
7766
7766
  function ChartClass(l, name) {
7767
+ this.chart = null;
7767
7768
  this.style = {};
7768
7769
  this.loading = false;
7769
7770
  this.empty = false;
@@ -7874,7 +7875,14 @@
7874
7875
  series: []
7875
7876
  };
7876
7877
  this.options = this.merge(opt, cOpt);
7877
- Highcharts.chart(this.name + 'Chart', this.options);
7878
+ this.chart = Highcharts.chart(this.name + 'Chart', this.options);
7879
+ };
7880
+ ChartClass.prototype.destroy = function () {
7881
+ console.log(this.chart);
7882
+ if (this.chart !== null) {
7883
+ console.log(this.chart);
7884
+ this.chart.destroy();
7885
+ }
7878
7886
  };
7879
7887
  ChartClass.prototype.getSymbol = function (point) {
7880
7888
  var marker = null;