axidio-styleguide-library1-v2 0.0.978 → 0.0.980
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.
|
@@ -8551,7 +8551,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8551
8551
|
var height = parseInt(verticalstackedcontainer.style('height')) *
|
|
8552
8552
|
(self.chartConfiguration.svgHeight / 100) -
|
|
8553
8553
|
margin.top -
|
|
8554
|
-
margin.bottom
|
|
8554
|
+
margin.bottom;
|
|
8555
8555
|
/**
|
|
8556
8556
|
* entire height used in weekly charts as x axis needed to be displayed at the bottom of the chart
|
|
8557
8557
|
*/
|
|
@@ -8642,7 +8642,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8642
8642
|
.append('svg')
|
|
8643
8643
|
// .attr('id', self.uniqueId)
|
|
8644
8644
|
.attr('width', width - rightSvgWidth)
|
|
8645
|
-
.attr('height', height + margin.top + margin.bottom +
|
|
8645
|
+
.attr('height', height + margin.top + margin.bottom + 60)
|
|
8646
8646
|
// .call(ChartHelper.responsivefy)
|
|
8647
8647
|
.append('g')
|
|
8648
8648
|
.attr('transform', 'translate(' + 0 + ',' + margin.top + ')');
|
|
@@ -9008,20 +9008,19 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9008
9008
|
});
|
|
9009
9009
|
}
|
|
9010
9010
|
var xSubgroup = d3.scaleBand().domain(subgroups);
|
|
9011
|
-
|
|
9012
|
-
if (subgroups.length > 1 && this.chartConfiguration.isMultiChartGridLine) {
|
|
9013
|
-
xSubgroup.range([0, x.bandwidth() * 1.2]).padding(0.05);
|
|
9014
|
-
}
|
|
9015
|
-
else if (subgroups.length > 1 && !this.isZoomedOut) {
|
|
9011
|
+
if (subgroups.length > 1 && !this.isZoomedOut) {
|
|
9016
9012
|
// For grouped bar charts in zoom-in view, reduce padding between bars
|
|
9017
|
-
xSubgroup.range([0, x.bandwidth()])
|
|
9013
|
+
xSubgroup.range([0, x.bandwidth()]);
|
|
9018
9014
|
}
|
|
9019
9015
|
else if (subgroups.length === 1 && !this.isZoomedOut) {
|
|
9020
9016
|
// For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
|
|
9021
9017
|
xSubgroup.range([0, 80]);
|
|
9022
9018
|
}
|
|
9019
|
+
else if (this.chartConfiguration.isMultiChartGridLine == undefined) {
|
|
9020
|
+
xSubgroup.range([0, x.bandwidth()]);
|
|
9021
|
+
}
|
|
9023
9022
|
else {
|
|
9024
|
-
//
|
|
9023
|
+
// used to make grouped bars with lesser width as we are not using padding for width
|
|
9025
9024
|
xSubgroup.range([0, x.bandwidth()]);
|
|
9026
9025
|
}
|
|
9027
9026
|
// if (this.chartConfiguration.isDrilldownChart) {
|