acttrader-charts 1.4.0-beta.6 → 1.4.0-beta.7
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/README.md +4 -2
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/webview/chart.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2280,8 +2280,10 @@ Two details worth knowing:
|
|
|
2280
2280
|
| Long press | Shows the crosshair |
|
|
2281
2281
|
|
|
2282
2282
|
Once the view has moved away from its default, a round **Reset view** button
|
|
2283
|
-
appears just above the time axis. It is
|
|
2284
|
-
|
|
2283
|
+
appears just above the time axis. It is part of the built-in UI, so it is not
|
|
2284
|
+
shown when `showUI: false` (the usual iOS / Android setup, where the app draws
|
|
2285
|
+
its own controls). On a bare chart, double tap the price axis or call
|
|
2286
|
+
`resetView()` to bring the view back.
|
|
2285
2287
|
|
|
2286
2288
|
### Value tooltip on long press
|
|
2287
2289
|
|
package/dist/index.cjs
CHANGED
|
@@ -39735,12 +39735,12 @@ var _ChartEngine = class _ChartEngine {
|
|
|
39735
39735
|
this.applyScrollToEndBtnStyles();
|
|
39736
39736
|
this.scrollToEndBtn.addEventListener("click", () => this.scrollToEnd());
|
|
39737
39737
|
this.canvasWrap.appendChild(this.scrollToEndBtn);
|
|
39738
|
+
this.resetViewBtn = document.createElement("button");
|
|
39739
|
+
this.resetViewBtn.title = "Reset view";
|
|
39740
|
+
this.applyResetViewBtnStyles();
|
|
39741
|
+
this.resetViewBtn.addEventListener("click", () => this.resetView());
|
|
39742
|
+
this.canvasWrap.appendChild(this.resetViewBtn);
|
|
39738
39743
|
}
|
|
39739
|
-
this.resetViewBtn = document.createElement("button");
|
|
39740
|
-
this.resetViewBtn.title = "Reset view";
|
|
39741
|
-
this.applyResetViewBtnStyles();
|
|
39742
|
-
this.resetViewBtn.addEventListener("click", () => this.resetView());
|
|
39743
|
-
this.canvasWrap.appendChild(this.resetViewBtn);
|
|
39744
39744
|
this.tradeDragHandler = new TradeDragHandler();
|
|
39745
39745
|
this.orderTimeDragHandler = new OrderLineTimeDragHandler();
|
|
39746
39746
|
if (config.onLevelDragEnd) {
|