axidio-styleguide-library1-v2 0.5.32 → 0.5.34
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.
|
@@ -7893,19 +7893,18 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7893
7893
|
// .call((g) => { if (!isria) g.select('.domain').remove(); })
|
|
7894
7894
|
.call(g => {
|
|
7895
7895
|
// RIA + single subgroup → remove domain
|
|
7896
|
-
if (isria && (subgroups.length > 1 && self.chartData.data.length ===
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
}
|
|
7900
|
-
// Default behavior
|
|
7901
|
-
if (!isria) {
|
|
7902
|
-
|
|
7903
|
-
}
|
|
7896
|
+
// if (isria && (subgroups.length > 1 && self.chartData.data.length ===1 )) {
|
|
7897
|
+
// g.select('.domain').remove();
|
|
7898
|
+
// return;
|
|
7899
|
+
// }
|
|
7900
|
+
// // Default behavior
|
|
7901
|
+
// if (!isria) {
|
|
7902
|
+
g.select('.domain').remove();
|
|
7903
|
+
// }
|
|
7904
7904
|
})
|
|
7905
|
-
.call((g) => {
|
|
7905
|
+
// .call((g) => {
|
|
7906
7906
|
// Move only the axis line (domain) to the left
|
|
7907
|
-
g.select('.domain').attr('transform', 'translate(-60,0)');
|
|
7908
|
-
})
|
|
7907
|
+
// g.select('.domain').attr('transform', 'translate(-60,0)');})
|
|
7909
7908
|
.call((g) => {
|
|
7910
7909
|
// Increase spacing between axis and labels
|
|
7911
7910
|
if (isria && (subgroups.length === 1 || self.chartData.data.length > 1)) {
|
|
@@ -8256,7 +8255,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8256
8255
|
.call(d3.axisLeft(y).ticks(self.chartConfiguration.numberOfYTicks).tickSize(-width))
|
|
8257
8256
|
.style('color', 'var(--chart-axis-color, #B9B9B9)')
|
|
8258
8257
|
.style('opacity', '0.5')
|
|
8259
|
-
.call((g) => g.select('.domain').remove().style('stroke', 'var(--chart-domain-color, #
|
|
8258
|
+
.call((g) => g.select('.domain').remove().style('stroke', 'var(--chart-domain-color, #abaaaa)'));
|
|
8260
8259
|
}
|
|
8261
8260
|
else {
|
|
8262
8261
|
svg.append('g')
|
|
@@ -8264,7 +8263,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8264
8263
|
.style('color', 'var(--chart-axis-color, #B9B9B9)')
|
|
8265
8264
|
.style('opacity', '0.5')
|
|
8266
8265
|
.call((g) => g.select('.domain')
|
|
8267
|
-
.style('stroke', 'var(--chart-domain-color, #
|
|
8266
|
+
.style('stroke', 'var(--chart-domain-color, #abaaaa)')
|
|
8268
8267
|
.style('stroke-width', '1px'));
|
|
8269
8268
|
}
|
|
8270
8269
|
}
|
|
@@ -8674,7 +8673,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8674
8673
|
const isAcronym = this.isLabelAcronym(metaData.xLabel);
|
|
8675
8674
|
const xPosition = isria
|
|
8676
8675
|
? (height + margin.top + margin.bottom)
|
|
8677
|
-
: (height + margin.top + margin.bottom +
|
|
8676
|
+
: (height + margin.top + margin.bottom + 20);
|
|
8678
8677
|
svg.append('text')
|
|
8679
8678
|
.attr('class', this.getXLabelClass(self))
|
|
8680
8679
|
.attr('style', self.chartConfiguration.xAxisCustomlabelStyles)
|