axidio-styleguide-library1-v2 0.3.99 → 0.4.1
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.
|
@@ -7803,7 +7803,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7803
7803
|
})
|
|
7804
7804
|
.call((g) => {
|
|
7805
7805
|
// Increase spacing between axis and labels
|
|
7806
|
-
if (isria && subgroups.length === 1) {
|
|
7806
|
+
if (isria && (subgroups.length === 1 && self.chartData.data.length > 1)) {
|
|
7807
7807
|
g.selectAll('.tick text')
|
|
7808
7808
|
.attr('dy', '1em'); // Default is '0.71em', increase for more space
|
|
7809
7809
|
}
|