axidio-styleguide-library1-v2 0.6.63 → 0.6.64
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.
|
@@ -8203,7 +8203,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8203
8203
|
}
|
|
8204
8204
|
// For non-date labels, trim as before
|
|
8205
8205
|
const firstPart = d.split(/[\s\-]+/)[0];
|
|
8206
|
-
return firstPart.substring(0, 3);
|
|
8206
|
+
return firstPart.substring(0, 3).toLowerCase();
|
|
8207
8207
|
}
|
|
8208
8208
|
}
|
|
8209
8209
|
// Check if value should be ignored
|
|
@@ -8701,7 +8701,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8701
8701
|
else {
|
|
8702
8702
|
svg.selectAll('.lib-axis-group-label')
|
|
8703
8703
|
.attr('class', 'lib-ylabel-weeklyCharts')
|
|
8704
|
-
.text(metaData.yLabel);
|
|
8704
|
+
.text(metaData.yLabel.toLowerCase());
|
|
8705
8705
|
}
|
|
8706
8706
|
}
|
|
8707
8707
|
// X-axis label
|
|
@@ -8721,9 +8721,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8721
8721
|
.attr('style', self.chartConfiguration.xAxisCustomlabelStyles)
|
|
8722
8722
|
.attr('transform', `translate(${width / 2},${xPosition})`)
|
|
8723
8723
|
.style('text-anchor', 'middle')
|
|
8724
|
-
.style('fill', 'var(--chart-text-color)')
|
|
8725
|
-
|
|
8726
|
-
|
|
8724
|
+
.style('fill', 'var(--chart-text-color)')
|
|
8725
|
+
.text(isAcronym ? metaData.xLabel.toUpperCase() : metaData.xLabel.toLowerCase())
|
|
8726
|
+
.style('text-transform', isAcronym ? 'none' : 'capitalize');
|
|
8727
8727
|
}
|
|
8728
8728
|
// Line y-axis label
|
|
8729
8729
|
if (metaData.lineyLabel) {
|