axidio-styleguide-library1-v2 0.6.38 → 0.6.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.
|
@@ -6816,7 +6816,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
6816
6816
|
.style('right', `${this.CONSTANTS.RIGHT_SVG_WIDTH}px`)
|
|
6817
6817
|
.style('top', '0')
|
|
6818
6818
|
.style('width', 'auto')
|
|
6819
|
-
.style('height', `${dimensions.height + margin.top + margin.bottom}px`)
|
|
6819
|
+
.style('height', `${dimensions.height + margin.top + margin.bottom + 10}px`)
|
|
6820
6820
|
.style('overflow-x', 'auto')
|
|
6821
6821
|
.style('overflow-y', 'hidden');
|
|
6822
6822
|
const innerContainer = scrollableContainer
|
|
@@ -6898,7 +6898,12 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
6898
6898
|
.axisLeft(scales.yScale)
|
|
6899
6899
|
.ticks(this.chartConfiguration.numberOfYTicks)
|
|
6900
6900
|
.tickSize(0)
|
|
6901
|
-
.tickFormat(
|
|
6901
|
+
.tickFormat((d) => {
|
|
6902
|
+
const formatted = this.chartConfiguration.yAxisLabelFomatter
|
|
6903
|
+
? this.chartConfiguration.yAxisLabelFomatter(d)
|
|
6904
|
+
: d;
|
|
6905
|
+
return formatted >= 1000 ? formatted / 1000 + 'k' : formatted;
|
|
6906
|
+
});
|
|
6902
6907
|
let yLineAxis = null;
|
|
6903
6908
|
if (scales.lineYscale) {
|
|
6904
6909
|
yLineAxis = d3
|