axidio-styleguide-library1-v2 0.5.49 → 0.5.50
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.
|
@@ -8303,7 +8303,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8303
8303
|
.attr('width', (d) => {
|
|
8304
8304
|
let width = this.calculateBarWidth(d, data, subgroups, x, xSubgroup, self, tempScale);
|
|
8305
8305
|
if (isria && self.chartData.data.length >= 8) {
|
|
8306
|
-
width = Math.max(0, width -
|
|
8306
|
+
width = Math.max(0, width - 20); // Prevent negative width
|
|
8307
8307
|
}
|
|
8308
8308
|
return width;
|
|
8309
8309
|
})
|