hyperprop-charting-library 0.1.99 → 0.1.100
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.
|
@@ -2538,7 +2538,7 @@ function createChart(element, options = {}) {
|
|
|
2538
2538
|
};
|
|
2539
2539
|
const targetAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * target.price * effectivePointValue)}` : "";
|
|
2540
2540
|
const stopAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * stop.price * effectivePointValue)}` : "";
|
|
2541
|
-
const PILL_GAP =
|
|
2541
|
+
const PILL_GAP = 9;
|
|
2542
2542
|
const drawPositionPill = (text, lineY, place, bg) => {
|
|
2543
2543
|
const lines = Array.isArray(text) ? text : [text];
|
|
2544
2544
|
const prevFont = ctx.font;
|
|
@@ -2512,7 +2512,7 @@ function createChart(element, options = {}) {
|
|
|
2512
2512
|
};
|
|
2513
2513
|
const targetAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * target.price * effectivePointValue)}` : "";
|
|
2514
2514
|
const stopAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * stop.price * effectivePointValue)}` : "";
|
|
2515
|
-
const PILL_GAP =
|
|
2515
|
+
const PILL_GAP = 9;
|
|
2516
2516
|
const drawPositionPill = (text, lineY, place, bg) => {
|
|
2517
2517
|
const lines = Array.isArray(text) ? text : [text];
|
|
2518
2518
|
const prevFont = ctx.font;
|
package/dist/index.cjs
CHANGED
|
@@ -2538,7 +2538,7 @@ function createChart(element, options = {}) {
|
|
|
2538
2538
|
};
|
|
2539
2539
|
const targetAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * target.price * effectivePointValue)}` : "";
|
|
2540
2540
|
const stopAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * stop.price * effectivePointValue)}` : "";
|
|
2541
|
-
const PILL_GAP =
|
|
2541
|
+
const PILL_GAP = 9;
|
|
2542
2542
|
const drawPositionPill = (text, lineY, place, bg) => {
|
|
2543
2543
|
const lines = Array.isArray(text) ? text : [text];
|
|
2544
2544
|
const prevFont = ctx.font;
|
package/dist/index.js
CHANGED
|
@@ -2512,7 +2512,7 @@ function createChart(element, options = {}) {
|
|
|
2512
2512
|
};
|
|
2513
2513
|
const targetAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * target.price * effectivePointValue)}` : "";
|
|
2514
2514
|
const stopAmountText = hasMoney ? `, Amount: ${formatAmount(qtyRaw * stop.price * effectivePointValue)}` : "";
|
|
2515
|
-
const PILL_GAP =
|
|
2515
|
+
const PILL_GAP = 9;
|
|
2516
2516
|
const drawPositionPill = (text, lineY, place, bg) => {
|
|
2517
2517
|
const lines = Array.isArray(text) ? text : [text];
|
|
2518
2518
|
const prevFont = ctx.font;
|