hyperprop-charting-library 0.1.84 → 0.1.85

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.
@@ -2624,7 +2624,7 @@ function createChart(element, options = {}) {
2624
2624
  ctx.save();
2625
2625
  ctx.strokeStyle = hexToRgba(drawing.color, 0.5);
2626
2626
  ctx.lineWidth = 1;
2627
- ctx.strokeRect(crisp(pillX), crisp(pillY), pillW, pillH);
2627
+ strokeRoundedRect(pillX, pillY, pillW, pillH, 4);
2628
2628
  ctx.restore();
2629
2629
  ctx.fillStyle = drawing.color;
2630
2630
  ctx.textAlign = "center";
@@ -2598,7 +2598,7 @@ function createChart(element, options = {}) {
2598
2598
  ctx.save();
2599
2599
  ctx.strokeStyle = hexToRgba(drawing.color, 0.5);
2600
2600
  ctx.lineWidth = 1;
2601
- ctx.strokeRect(crisp(pillX), crisp(pillY), pillW, pillH);
2601
+ strokeRoundedRect(pillX, pillY, pillW, pillH, 4);
2602
2602
  ctx.restore();
2603
2603
  ctx.fillStyle = drawing.color;
2604
2604
  ctx.textAlign = "center";
package/dist/index.cjs CHANGED
@@ -2624,7 +2624,7 @@ function createChart(element, options = {}) {
2624
2624
  ctx.save();
2625
2625
  ctx.strokeStyle = hexToRgba(drawing.color, 0.5);
2626
2626
  ctx.lineWidth = 1;
2627
- ctx.strokeRect(crisp(pillX), crisp(pillY), pillW, pillH);
2627
+ strokeRoundedRect(pillX, pillY, pillW, pillH, 4);
2628
2628
  ctx.restore();
2629
2629
  ctx.fillStyle = drawing.color;
2630
2630
  ctx.textAlign = "center";
package/dist/index.js CHANGED
@@ -2598,7 +2598,7 @@ function createChart(element, options = {}) {
2598
2598
  ctx.save();
2599
2599
  ctx.strokeStyle = hexToRgba(drawing.color, 0.5);
2600
2600
  ctx.lineWidth = 1;
2601
- ctx.strokeRect(crisp(pillX), crisp(pillY), pillW, pillH);
2601
+ strokeRoundedRect(pillX, pillY, pillW, pillH, 4);
2602
2602
  ctx.restore();
2603
2603
  ctx.fillStyle = drawing.color;
2604
2604
  ctx.textAlign = "center";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperprop-charting-library",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "description": "Lightweight TypeScript charting core",
5
5
  "type": "module",
6
6
  "main": "./dist/hyperprop-charting-library.cjs",