axidio-styleguide-library1-v2 0.3.19 → 0.3.20
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.
|
@@ -8640,8 +8640,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8640
8640
|
else {
|
|
8641
8641
|
const words = label.split(' ');
|
|
8642
8642
|
text.text(null);
|
|
8643
|
-
words.forEach((word) => {
|
|
8644
|
-
text.append('tspan')
|
|
8643
|
+
words.forEach((word, idx) => {
|
|
8644
|
+
text.append('tspan')
|
|
8645
|
+
.attr('x', 0)
|
|
8646
|
+
.attr('dy', '0em')
|
|
8647
|
+
.text(word + (idx < words.length - 1 ? ' ' : ''));
|
|
8645
8648
|
});
|
|
8646
8649
|
}
|
|
8647
8650
|
})
|