@opendata-ai/openchart-vanilla 6.24.0 → 6.24.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendata-ai/openchart-vanilla",
3
- "version": "6.24.0",
3
+ "version": "6.24.2",
4
4
  "description": "Vanilla JS renderer for openchart: SVG charts, HTML tables, force-directed graphs",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Riley Hilliard",
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@floating-ui/dom": "^1.7.6",
53
- "@opendata-ai/openchart-core": "6.24.0",
54
- "@opendata-ai/openchart-engine": "6.24.0",
53
+ "@opendata-ai/openchart-core": "6.24.2",
54
+ "@opendata-ai/openchart-engine": "6.24.2",
55
55
  "d3-force": "^3.0.0",
56
56
  "d3-quadtree": "^3.0.1"
57
57
  },
@@ -183,7 +183,7 @@ function renderAnnotation(
183
183
  rx: 2,
184
184
  });
185
185
  g.appendChild(bgRect);
186
- } else if (bgColor) {
186
+ } else if (bgColor && annotation.label.halo !== false) {
187
187
  text.style.paintOrder = 'stroke';
188
188
  text.style.stroke = bgColor;
189
189
  text.style.strokeWidth = `${Math.round(fontSize * 0.3)}px`;