charts-core 1.1.41 → 1.1.42
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/charts-core.js
CHANGED
|
@@ -3399,21 +3399,16 @@ const Sa = { text: "#FFFFFF", bg: "#000000" }, Aa = (i, e) => {
|
|
|
3399
3399
|
x2: r.x,
|
|
3400
3400
|
y2: r.y
|
|
3401
3401
|
}
|
|
3402
|
-
})
|
|
3403
|
-
const c = i.canvas.width / (window.devicePixelRatio || 1);
|
|
3404
|
-
Aa(i, {
|
|
3402
|
+
}), Aa(i, {
|
|
3405
3403
|
text: e,
|
|
3406
|
-
coords:
|
|
3407
|
-
x: c,
|
|
3408
|
-
y: r.y
|
|
3409
|
-
},
|
|
3404
|
+
coords: r,
|
|
3410
3405
|
padding: { x: 6, y: 4 },
|
|
3411
3406
|
borderRadius: 4,
|
|
3412
3407
|
fontSize: 10,
|
|
3413
3408
|
textHeight: 12,
|
|
3414
3409
|
align: {
|
|
3415
|
-
x: "
|
|
3416
|
-
y: "middle"
|
|
3410
|
+
x: a === "v" ? "middle" : s,
|
|
3411
|
+
y: a === "h" ? "middle" : s
|
|
3417
3412
|
},
|
|
3418
3413
|
colors: {
|
|
3419
3414
|
text: o.text,
|