@opendata-ai/openchart-vanilla 6.19.0 → 6.19.1

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/index.js CHANGED
@@ -3482,7 +3482,7 @@ function wrapText(text, fontSize, fontWeight, maxWidth, measureText) {
3482
3482
  if (current2) lines2.push(current2);
3483
3483
  return lines2;
3484
3484
  }
3485
- const AVG_CHAR_WIDTH = 0.55;
3485
+ const AVG_CHAR_WIDTH = 0.57;
3486
3486
  const WEIGHT_FACTORS = {
3487
3487
  100: 0.9,
3488
3488
  200: 0.92,
@@ -6576,7 +6576,7 @@ function stampAnimationAttrs2(el, mark, fallbackIndex, animation) {
6576
6576
  }
6577
6577
  function wrapText2(text, fontSize, fontWeight, maxWidth) {
6578
6578
  if (maxWidth <= 0) return [text];
6579
- const AVG_CHAR_WIDTH = 0.55;
6579
+ const AVG_CHAR_WIDTH = 0.57;
6580
6580
  const WEIGHT_FACTORS = {
6581
6581
  100: 0.9,
6582
6582
  200: 0.92,