axidio-styleguide-library1-v2 0.6.14 → 0.6.15
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.
|
@@ -7906,7 +7906,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7906
7906
|
if (this.chartConfiguration.isMultiChartGridLine === undefined) {
|
|
7907
7907
|
// Normal ticks for dashboard charts
|
|
7908
7908
|
// Dynamically adjust Y translation for mobile
|
|
7909
|
-
let translateY = height;
|
|
7909
|
+
let translateY = height - 10;
|
|
7910
7910
|
if (isMobile) {
|
|
7911
7911
|
translateY = height + 10; // Add extra space at the top for mobile
|
|
7912
7912
|
}
|
|
@@ -7936,7 +7936,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7936
7936
|
// Increase spacing between axis and labels
|
|
7937
7937
|
if (isria && (subgroups.length === 1 || self.chartData.data.length > 1)) {
|
|
7938
7938
|
g.selectAll('.tick text')
|
|
7939
|
-
.attr('dy', '
|
|
7939
|
+
.attr('dy', '0em'); // Default is '0.71em', increase for more space
|
|
7940
7940
|
}
|
|
7941
7941
|
})
|
|
7942
7942
|
.call((g) => {
|
|
@@ -8096,7 +8096,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8096
8096
|
applyXLabelsOnSameLine(svg, subgroups, data, metaData, self, shortTickLengthBg, isMobile, isria) {
|
|
8097
8097
|
const xAxisLabels = svg.selectAll('g.x1.axis1 g.tick text')
|
|
8098
8098
|
.attr('class', 'lib-xaxis-labels-texts-drilldown')
|
|
8099
|
-
.style('font-size', this.isHeaderVisible && !isria ? '
|
|
8099
|
+
.style('font-size', this.isHeaderVisible && !isria ? '16px' : '11px')
|
|
8100
8100
|
.attr('text-anchor', 'middle')
|
|
8101
8101
|
.attr('y', (d) => this.calculateXLabelYPosition(d, subgroups, data, metaData, self, shortTickLengthBg))
|
|
8102
8102
|
.attr('x', (d) => (self.chartData.data.length > 8 && !self.isZoomedOut) ? 1 : 0)
|