axidio-styleguide-library1-v2 0.4.65 → 0.4.66
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.
|
@@ -7871,14 +7871,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7871
7871
|
// RIA + single subgroup → remove domain
|
|
7872
7872
|
if (isria && (subgroups.length > 1 && self.chartData.data.length === 1)) {
|
|
7873
7873
|
g.select('.domain').remove();
|
|
7874
|
-
// Increase domain line length
|
|
7875
|
-
const extra = 20; // increase by 20px on right
|
|
7876
|
-
const originalWidth = x.range()[1];
|
|
7877
|
-
const domain = g.select('.domain');
|
|
7878
|
-
domain.attr('d', `M0,0 H${originalWidth + extra}`);
|
|
7879
|
-
domain.attr('transform', 'translate(-10,0)');
|
|
7880
7874
|
return;
|
|
7881
7875
|
}
|
|
7876
|
+
const domain = g.select('.domain');
|
|
7877
|
+
domain.attr('transform', 'translate(-30,0)');
|
|
7882
7878
|
// Default behavior
|
|
7883
7879
|
if (!isria) {
|
|
7884
7880
|
g.select('.domain').remove();
|