@tradecanvas/chart 1.47.0 → 1.49.0
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/dist/Chart.d.ts +10 -2
- package/dist/Chart.d.ts.map +1 -1
- package/dist/LayoutSession-C5WKlKzH.cjs +2 -0
- package/dist/LayoutSession-C5WKlKzH.cjs.map +1 -0
- package/dist/{LayoutSession-Ccv3vSuZ.js → LayoutSession-OzzotveZ.js} +6 -6
- package/dist/LayoutSession-OzzotveZ.js.map +1 -0
- package/dist/frameworks/feedBars.d.ts +37 -0
- package/dist/frameworks/feedBars.d.ts.map +1 -0
- package/dist/frameworks/syncIndicators.d.ts +4 -4
- package/dist/frameworks/syncIndicators.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +127 -81
- package/dist/index.js.map +1 -1
- package/dist/widget/index.cjs +2 -2
- package/dist/widget/index.cjs.map +1 -1
- package/dist/widget/index.js +81 -81
- package/dist/widget/index.js.map +1 -1
- package/dist/widget/types.d.ts +16 -11
- package/dist/widget/types.d.ts.map +1 -1
- package/dist/widget/widgetFeatures.d.ts +2 -0
- package/dist/widget/widgetFeatures.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/LayoutSession-Ccv3vSuZ.js.map +0 -1
- package/dist/LayoutSession-DNkU8T33.cjs +0 -2
- package/dist/LayoutSession-DNkU8T33.cjs.map +0 -1
|
@@ -909,7 +909,7 @@ function Rn(e, t) {
|
|
|
909
909
|
};
|
|
910
910
|
}
|
|
911
911
|
var zn = .08, Bn = a ** -7, Vn = 800, Hn = 20, Un = 8, Wn = new Set(["horizontalLine", "crossLine"]), Gn = new Set(["verticalLine", "crossLine"]), Kn = class {
|
|
912
|
-
static version = "1.
|
|
912
|
+
static version = "1.49.0";
|
|
913
913
|
engine;
|
|
914
914
|
viewport;
|
|
915
915
|
dataManager;
|
|
@@ -1458,7 +1458,7 @@ var zn = .08, Bn = a ** -7, Vn = 800, Hn = 20, Un = 8, Wn = new Set(["horizontal
|
|
|
1458
1458
|
this.takeLivePrice(t), this.scheduleRender();
|
|
1459
1459
|
return;
|
|
1460
1460
|
}
|
|
1461
|
-
let r = this.viewport.isAtEnd(), i = this.dataManager.getLength();
|
|
1461
|
+
let r = this.autoScrollOnNewBar && this.viewport.isAtEnd(), i = this.dataManager.getLength();
|
|
1462
1462
|
for (let e of n) this.dataManager.appendBar(e);
|
|
1463
1463
|
this.displayDataCache = null;
|
|
1464
1464
|
let a = this.dataManager.getData();
|
|
@@ -1593,8 +1593,8 @@ var zn = .08, Bn = a ** -7, Vn = 800, Hn = 20, Un = 8, Wn = new Set(["horizontal
|
|
|
1593
1593
|
getBidAsk() {
|
|
1594
1594
|
return this.priceLines.getBidAsk();
|
|
1595
1595
|
}
|
|
1596
|
-
addIndicator(e, t
|
|
1597
|
-
return this.recordIndicators(void 0, () => this.addIndicatorNow(e, t, n, r));
|
|
1596
|
+
addIndicator(e, t, n = "bottom", r = {}) {
|
|
1597
|
+
return this.recordIndicators(void 0, () => this.addIndicatorNow(e, t ?? {}, n, r));
|
|
1598
1598
|
}
|
|
1599
1599
|
addIndicatorNow(e, t, n, r) {
|
|
1600
1600
|
if (!this.isIndicatorAllowed(e)) return null;
|
|
@@ -4486,6 +4486,6 @@ var jr = class {
|
|
|
4486
4486
|
}
|
|
4487
4487
|
};
|
|
4488
4488
|
//#endregion
|
|
4489
|
-
export { V as C, sn as S, Tn as _, Er as a, dn as b, Kn as c, An as d, kn as f, wn as g, Dn as h, Dr as i, In as l, En as m, Or as n, Cr as o, On as p, $ as r, mr as s, jr as t, Fn as u, U as v,
|
|
4489
|
+
export { V as C, sn as S, Xt as T, Tn as _, Er as a, dn as b, Kn as c, An as d, kn as f, wn as g, Dn as h, Dr as i, In as l, En as m, Or as n, Cr as o, On as p, $ as r, mr as s, jr as t, Fn as u, U as v, z as w, ln as x, gn as y };
|
|
4490
4490
|
|
|
4491
|
-
//# sourceMappingURL=LayoutSession-
|
|
4491
|
+
//# sourceMappingURL=LayoutSession-OzzotveZ.js.map
|