ps-toolkit-ui 1.5.71 → 1.5.72
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/bundles/ps-toolkit-ui.umd.js +5 -1
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/chart.class.js +6 -2
- package/fesm2015/ps-toolkit-ui.js +5 -1
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/chart.class.d.ts +3 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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,10 @@
|
|
|
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
|
+
this.chart.destroy();
|
|
7878
7882
|
};
|
|
7879
7883
|
ChartClass.prototype.getSymbol = function (point) {
|
|
7880
7884
|
var marker = null;
|