@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/dist/index.js CHANGED
@@ -3610,7 +3610,7 @@ function renderAnnotation(parent, annotation, index2, bgColor) {
3610
3610
  rx: 2
3611
3611
  });
3612
3612
  g.appendChild(bgRect);
3613
- } else if (bgColor) {
3613
+ } else if (bgColor && annotation.label.halo !== false) {
3614
3614
  text.style.paintOrder = "stroke";
3615
3615
  text.style.stroke = bgColor;
3616
3616
  text.style.strokeWidth = `${Math.round(fontSize * 0.3)}px`;