axidio-styleguide-library1-v2 0.0.875 → 0.0.877
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.
|
@@ -9072,16 +9072,16 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9072
9072
|
}
|
|
9073
9073
|
});
|
|
9074
9074
|
return self.isZoomedOut
|
|
9075
|
-
? tempScale.bandwidth()
|
|
9075
|
+
? tempScale.bandwidth() * 0.5
|
|
9076
9076
|
: self.chartData.data.length && self.chartData.data.length > 8
|
|
9077
9077
|
? tempScale.bandwidth() * 0.5
|
|
9078
|
-
: tempScale.bandwidth();
|
|
9078
|
+
: tempScale.bandwidth() * 0.5;
|
|
9079
9079
|
}
|
|
9080
9080
|
return self.isZoomedOut
|
|
9081
|
-
? tempScale.bandwidth()
|
|
9081
|
+
? tempScale.bandwidth() * 0.5
|
|
9082
9082
|
: self.chartData.data.length && self.chartData.data.length > 8
|
|
9083
9083
|
? tempScale.bandwidth() * 0.5
|
|
9084
|
-
: tempScale.bandwidth();
|
|
9084
|
+
: tempScale.bandwidth() * 0.5;
|
|
9085
9085
|
})
|
|
9086
9086
|
.attr('height', function (d) {
|
|
9087
9087
|
if (d.value == -1) {
|
|
@@ -9167,14 +9167,14 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9167
9167
|
if (self.chartData.data.length == 1) {
|
|
9168
9168
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
9169
9169
|
tempScale.range([
|
|
9170
|
-
0 + (x.bandwidth() -
|
|
9170
|
+
0 + (x.bandwidth() - 125) / 2,
|
|
9171
9171
|
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
9172
9172
|
]);
|
|
9173
9173
|
// .padding(0.05);
|
|
9174
9174
|
}
|
|
9175
9175
|
else
|
|
9176
9176
|
tempScale.range([
|
|
9177
|
-
0 + (x.bandwidth() -
|
|
9177
|
+
0 + (x.bandwidth() - 125) / 2,
|
|
9178
9178
|
x.bandwidth() - (x.bandwidth() - 300) / 2,
|
|
9179
9179
|
]);
|
|
9180
9180
|
// .padding(0.05);
|
|
@@ -9246,13 +9246,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9246
9246
|
if (self.chartData.data.length == 1) {
|
|
9247
9247
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
9248
9248
|
tempScale.range([
|
|
9249
|
-
0 + (x.bandwidth() -
|
|
9249
|
+
0 + (x.bandwidth() - 125) / 2,
|
|
9250
9250
|
x.bandwidth() - (x.bandwidth() - 200) / 2,
|
|
9251
9251
|
]);
|
|
9252
9252
|
}
|
|
9253
9253
|
else
|
|
9254
9254
|
tempScale.range([
|
|
9255
|
-
0 + (x.bandwidth() -
|
|
9255
|
+
0 + (x.bandwidth() - 125) / 2,
|
|
9256
9256
|
x.bandwidth() - (x.bandwidth() - 300) / 2,
|
|
9257
9257
|
]);
|
|
9258
9258
|
}
|