axidio-styleguide-library1-v2 0.0.826 → 0.0.827
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.
|
@@ -8568,7 +8568,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8568
8568
|
parseInt(verticalstackedcontainer.style('height')) -
|
|
8569
8569
|
margin.top -
|
|
8570
8570
|
margin.bottom -
|
|
8571
|
-
|
|
8571
|
+
140;
|
|
8572
8572
|
}
|
|
8573
8573
|
/**
|
|
8574
8574
|
* for hiding header
|
|
@@ -8654,7 +8654,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8654
8654
|
.scaleBand()
|
|
8655
8655
|
.rangeRound([width, 0])
|
|
8656
8656
|
.align(0.5)
|
|
8657
|
-
.padding([0.
|
|
8657
|
+
.padding([0.7])
|
|
8658
8658
|
.domain(data.map(function (d) {
|
|
8659
8659
|
return d.name.toLowerCase();
|
|
8660
8660
|
}));
|
|
@@ -8984,15 +8984,15 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8984
8984
|
if (self.chartData.data.length == 1) {
|
|
8985
8985
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
8986
8986
|
tempScale.range([
|
|
8987
|
-
0 + (x.bandwidth() -
|
|
8988
|
-
x.bandwidth() - (x.bandwidth() -
|
|
8987
|
+
0 + (x.bandwidth() - 200) / 2,
|
|
8988
|
+
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
8989
8989
|
]);
|
|
8990
8990
|
// .padding(0.05);
|
|
8991
8991
|
}
|
|
8992
8992
|
else
|
|
8993
8993
|
tempScale.range([
|
|
8994
|
-
0 + (x.bandwidth() -
|
|
8995
|
-
x.bandwidth() - (x.bandwidth() -
|
|
8994
|
+
0 + (x.bandwidth() - 200) / 2,
|
|
8995
|
+
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
8996
8996
|
]);
|
|
8997
8997
|
// .padding(0.05);
|
|
8998
8998
|
}
|
|
@@ -9035,15 +9035,15 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9035
9035
|
if (self.chartData.data.length == 1) {
|
|
9036
9036
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
9037
9037
|
tempScale.range([
|
|
9038
|
-
0 + (x.bandwidth() -
|
|
9039
|
-
x.bandwidth() - (x.bandwidth() -
|
|
9038
|
+
0 + (x.bandwidth() - 200) / 2,
|
|
9039
|
+
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
9040
9040
|
]);
|
|
9041
9041
|
// .padding(0.05);
|
|
9042
9042
|
}
|
|
9043
9043
|
else
|
|
9044
9044
|
tempScale.range([
|
|
9045
|
-
0 + (x.bandwidth() -
|
|
9046
|
-
x.bandwidth() - (x.bandwidth() -
|
|
9045
|
+
0 + (x.bandwidth() - 200) / 2,
|
|
9046
|
+
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
9047
9047
|
]);
|
|
9048
9048
|
// .padding(0.05);
|
|
9049
9049
|
}
|
|
@@ -9613,12 +9613,12 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9613
9613
|
svg
|
|
9614
9614
|
.append('text')
|
|
9615
9615
|
.attr('class', function () {
|
|
9616
|
-
let baseClass = 'lib-axis-group-label
|
|
9616
|
+
let baseClass = 'lib-axis-group-label';
|
|
9617
9617
|
if (self.chartConfiguration.isDrilldownChart)
|
|
9618
9618
|
return baseClass + ' lib-xlabel-drilldowncharts';
|
|
9619
9619
|
if (self.chartConfiguration.isMultiChartGridLine != undefined)
|
|
9620
9620
|
return baseClass + ' lib-xlabel-weeklyCharts';
|
|
9621
|
-
return baseClass + ' lib-axis-waterfall-label';
|
|
9621
|
+
return baseClass + ' lib-axis-waterfall-label font-size-1';
|
|
9622
9622
|
})
|
|
9623
9623
|
.attr('style', self.chartConfiguration.xAxisCustomlabelStyles)
|
|
9624
9624
|
.attr('transform', 'translate(' + width / 2 + ' ,' + (height + margin.top + 40) + ')')
|