hyperprop-charting-library 0.1.42 → 0.1.43
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.
|
@@ -2703,7 +2703,7 @@ function createChart(element, options = {}) {
|
|
|
2703
2703
|
setCrosshairPoint(null);
|
|
2704
2704
|
} else if (dragMode === "x-axis") {
|
|
2705
2705
|
canvas.style.cursor = "ew-resize";
|
|
2706
|
-
zoomXToLatest(Math.exp(
|
|
2706
|
+
zoomXToLatest(Math.exp(deltaX * 6e-3));
|
|
2707
2707
|
setCrosshairPoint(null);
|
|
2708
2708
|
} else if (dragMode === "y-axis") {
|
|
2709
2709
|
canvas.style.cursor = "ns-resize";
|
|
@@ -2679,7 +2679,7 @@ function createChart(element, options = {}) {
|
|
|
2679
2679
|
setCrosshairPoint(null);
|
|
2680
2680
|
} else if (dragMode === "x-axis") {
|
|
2681
2681
|
canvas.style.cursor = "ew-resize";
|
|
2682
|
-
zoomXToLatest(Math.exp(
|
|
2682
|
+
zoomXToLatest(Math.exp(deltaX * 6e-3));
|
|
2683
2683
|
setCrosshairPoint(null);
|
|
2684
2684
|
} else if (dragMode === "y-axis") {
|
|
2685
2685
|
canvas.style.cursor = "ns-resize";
|
package/dist/index.cjs
CHANGED
|
@@ -2703,7 +2703,7 @@ function createChart(element, options = {}) {
|
|
|
2703
2703
|
setCrosshairPoint(null);
|
|
2704
2704
|
} else if (dragMode === "x-axis") {
|
|
2705
2705
|
canvas.style.cursor = "ew-resize";
|
|
2706
|
-
zoomXToLatest(Math.exp(
|
|
2706
|
+
zoomXToLatest(Math.exp(deltaX * 6e-3));
|
|
2707
2707
|
setCrosshairPoint(null);
|
|
2708
2708
|
} else if (dragMode === "y-axis") {
|
|
2709
2709
|
canvas.style.cursor = "ns-resize";
|
package/dist/index.js
CHANGED
|
@@ -2679,7 +2679,7 @@ function createChart(element, options = {}) {
|
|
|
2679
2679
|
setCrosshairPoint(null);
|
|
2680
2680
|
} else if (dragMode === "x-axis") {
|
|
2681
2681
|
canvas.style.cursor = "ew-resize";
|
|
2682
|
-
zoomXToLatest(Math.exp(
|
|
2682
|
+
zoomXToLatest(Math.exp(deltaX * 6e-3));
|
|
2683
2683
|
setCrosshairPoint(null);
|
|
2684
2684
|
} else if (dragMode === "y-axis") {
|
|
2685
2685
|
canvas.style.cursor = "ns-resize";
|