axidio-styleguide-library1-v2 0.4.66 → 0.4.67
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.
|
@@ -7874,7 +7874,14 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7874
7874
|
return;
|
|
7875
7875
|
}
|
|
7876
7876
|
const domain = g.select('.domain');
|
|
7877
|
+
// Get current range and extend it
|
|
7878
|
+
const startX = x.range()[0];
|
|
7879
|
+
const endX = x.range()[1];
|
|
7880
|
+
const extension = 30; // pixels to extend
|
|
7881
|
+
// Set new domain path with extended length
|
|
7882
|
+
domain.attr('d', `M${startX},0.5H${endX + extension}`);
|
|
7877
7883
|
domain.attr('transform', 'translate(-30,0)');
|
|
7884
|
+
;
|
|
7878
7885
|
// Default behavior
|
|
7879
7886
|
if (!isria) {
|
|
7880
7887
|
g.select('.domain').remove();
|