axidio-styleguide-library1-v2 0.0.917 → 0.0.918
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.
|
@@ -9030,8 +9030,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9030
9030
|
let keys = Object.keys(indiv).filter((temp, i) => i != 0);
|
|
9031
9031
|
tempScale = d3.scaleBand().domain(keys).range([0, x.bandwidth()]);
|
|
9032
9032
|
if (x.bandwidth() > 100) {
|
|
9033
|
-
//
|
|
9034
|
-
|
|
9033
|
+
// Increase bar width a bit in zoom-in view
|
|
9034
|
+
let reducedBarWidth = 60;
|
|
9035
|
+
if (!self.isZoomedOut) {
|
|
9036
|
+
reducedBarWidth = 80;
|
|
9037
|
+
}
|
|
9035
9038
|
if (self.chartData.data.length == 1) {
|
|
9036
9039
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
9037
9040
|
tempScale.range([
|
|
@@ -9075,8 +9078,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9075
9078
|
let keys = Object.keys(indiv).filter((temp, i) => i != 0);
|
|
9076
9079
|
tempScale = d3.scaleBand().domain(keys).range([0, x.bandwidth()]);
|
|
9077
9080
|
if (x.bandwidth() > 100) {
|
|
9078
|
-
//
|
|
9079
|
-
|
|
9081
|
+
// Increase bar width a bit in zoom-in view
|
|
9082
|
+
let reducedBarWidth = 60;
|
|
9083
|
+
if (!self.isZoomedOut) {
|
|
9084
|
+
reducedBarWidth = 80;
|
|
9085
|
+
}
|
|
9080
9086
|
if (self.chartData.data.length == 1) {
|
|
9081
9087
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|
|
9082
9088
|
tempScale.range([
|