ngx-hana-nameserver-history-viewer 21.0.0 → 21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-hana-nameserver-history-viewer",
3
- "version": "21.0.0",
3
+ "version": "21.1.1",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Kuang Cheng",
@@ -31,12 +31,13 @@
31
31
  "@angular/core": "^21.1.1",
32
32
  "@angular/forms": "^21.1.1",
33
33
  "@angular/platform-browser": "^21.1.1",
34
- "nshviewer-angular-datetime-picker": "^21.0.0",
35
- "chart.js": "2.7.3",
36
- "hammerjs": "^2.0.8",
34
+ "chart.js": "4.5.1",
35
+ "chartjs-plugin-zoom": "2.2.0",
36
+ "chartjs-adapter-moment": "^1.0.1",
37
37
  "moment-timezone": "^0.6.0",
38
38
  "ngx-dropdown-list": "^21.0.2",
39
39
  "ngx-selection-table": "^21.0.2",
40
+ "nshviewer-angular-datetime-picker": "^21.0.0",
40
41
  "papaparse": "^5.4.1",
41
42
  "zone.js": "^0.16.0"
42
43
  },
@@ -85,13 +85,24 @@ declare class ChartService {
85
85
  * Generate DataSets by the data and header information
86
86
  */
87
87
  private static _generateDataSets;
88
- private static _generateXAxes;
89
- private static _generateYAxes;
88
+ private static _generateScales;
90
89
  /**
91
90
  * generate configuration for chart
92
91
  */
93
92
  private static _generateChartConfig;
94
93
  private _getDataSetIndexByLabel;
94
+ /**
95
+ * WORKAROUND: Setup mousemove event listener to fix Chart.js tooltip issue
96
+ * Issue: https://github.com/chartjs/Chart.js/issues/11972
97
+ * TODO: Remove this entire method when the Chart.js bug is fixed
98
+ */
99
+ private _setupTooltipWorkaround;
100
+ /**
101
+ * WORKAROUND: Clean up mousemove event listener for Chart.js tooltip issue
102
+ * Issue: https://github.com/chartjs/Chart.js/issues/11972
103
+ * TODO: Remove this entire method when the Chart.js bug is fixed
104
+ */
105
+ private _cleanupTooltipWorkaround;
95
106
  /**
96
107
  * destroy the chart, release the resource of the chart
97
108
  */