axidio-styleguide-library1-v2 0.5.38 → 0.5.40
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.
|
@@ -8036,7 +8036,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8036
8036
|
.classed('mobile-xaxis-override', false) // Remove vertical class
|
|
8037
8037
|
.attr('transform', 'rotate(0)') // Remove any rotation
|
|
8038
8038
|
.attr('text-anchor', 'middle') // Center align
|
|
8039
|
-
.attr('y', 20) // Push down a bit
|
|
8039
|
+
.attr('y', !isria ? 20 : null) // Push down a bit
|
|
8040
8040
|
.attr('dx', '0') // Reset any x offset
|
|
8041
8041
|
.attr('dy', '0'); // Reset any y offset
|
|
8042
8042
|
}
|
|
@@ -8645,9 +8645,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8645
8645
|
}
|
|
8646
8646
|
}
|
|
8647
8647
|
renderAxisLabels(svg, svgYAxisLeft, svgYAxisRight, metaData, width, height, margin, self, isria, rightSvgWidth) {
|
|
8648
|
-
// Y-axis label
|
|
8648
|
+
// Y-axis label pieces,uints etc
|
|
8649
8649
|
if (metaData.yLabel) {
|
|
8650
|
-
const yPosition = isria ? 0 - margin.left / 2 : 0 - margin.left / 2 - 40;
|
|
8650
|
+
const yPosition = isria ? 0 - margin.left / 2 - 30 : 0 - margin.left / 2 - 40;
|
|
8651
8651
|
svgYAxisLeft.append('text')
|
|
8652
8652
|
.attr('class', 'lib-axis-group-label font-size-1')
|
|
8653
8653
|
.attr('style', self.chartConfiguration.yAxisCustomlabelStyles)
|
|
@@ -8672,7 +8672,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8672
8672
|
if (metaData.xLabel) {
|
|
8673
8673
|
const isAcronym = this.isLabelAcronym(metaData.xLabel);
|
|
8674
8674
|
const xPosition = isria
|
|
8675
|
-
? (height + margin.top + margin.bottom)
|
|
8675
|
+
? (height + margin.top + margin.bottom - 20)
|
|
8676
8676
|
: (height + margin.top + margin.bottom + 40);
|
|
8677
8677
|
svg.append('text')
|
|
8678
8678
|
.attr('class', this.getXLabelClass(self))
|