axidio-styleguide-library1-v2 0.5.29 → 0.5.31
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.
|
@@ -8258,7 +8258,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8258
8258
|
.style('opacity', '0.5')
|
|
8259
8259
|
.call((g) => g.select('.domain').remove().style('stroke', 'var(--chart-domain-color, #000000)'));
|
|
8260
8260
|
}
|
|
8261
|
-
if (!this.chartConfiguration.yAxisGrid
|
|
8261
|
+
if (!this.chartConfiguration.yAxisGrid) {
|
|
8262
8262
|
svg.append('g')
|
|
8263
8263
|
.call(d3.axisLeft(y).ticks(self.chartConfiguration.numberOfYTicks))
|
|
8264
8264
|
.style('color', 'var(--chart-axis-color, #B9B9B9)')
|
|
@@ -8672,9 +8672,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8672
8672
|
// X-axis label
|
|
8673
8673
|
if (metaData.xLabel) {
|
|
8674
8674
|
const isAcronym = this.isLabelAcronym(metaData.xLabel);
|
|
8675
|
-
|
|
8676
|
-
|
|
8677
|
-
|
|
8675
|
+
let xPosition = height + margin.top + margin.bottom;
|
|
8676
|
+
if (!isria) {
|
|
8677
|
+
xPosition += 40;
|
|
8678
|
+
}
|
|
8679
|
+
// const xPosition = isria
|
|
8680
|
+
// ? (height + margin.top + margin.bottom)
|
|
8681
|
+
// : (height + margin.top + margin.bottom + 40);
|
|
8678
8682
|
svg.append('text')
|
|
8679
8683
|
.attr('class', this.getXLabelClass(self))
|
|
8680
8684
|
.attr('style', self.chartConfiguration.xAxisCustomlabelStyles)
|