axidio-styleguide-library1-v2 0.7.34 → 0.7.36
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.
- package/esm2022/lib/horizontal-bars-with-scroll-zoom/horizontal-bars-with-scroll-zoom.component.mjs +13 -8
- package/esm2022/lib/horizontal-grouped-bar-with-scroll-zoom/horizontal-grouped-bar-with-scroll-zoom.component.mjs +2 -2
- package/fesm2022/axidio-styleguide-library1-v2.mjs +13 -8
- package/fesm2022/axidio-styleguide-library1-v2.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7666,17 +7666,22 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7666
7666
|
});
|
|
7667
7667
|
}
|
|
7668
7668
|
applyXLabelsOnSameLine(svg) {
|
|
7669
|
+
// svg
|
|
7670
|
+
// .selectAll('g.x1.axis1 g.tick text')
|
|
7671
|
+
// .attr('class', 'lib-xaxis-labels-texts-drilldown')
|
|
7672
|
+
// .attr('y', this.CONSTANTS.SHORT_TICK_LENGTH_BG)
|
|
7673
|
+
// .text((d: string) => {
|
|
7674
|
+
// const trimmed = d.trim();
|
|
7675
|
+
// const spaceIndex = trimmed.indexOf(' ');
|
|
7676
|
+
// return spaceIndex > -1
|
|
7677
|
+
// ? trimmed.substring(0, spaceIndex).toLowerCase()
|
|
7678
|
+
// : trimmed.toLowerCase();
|
|
7679
|
+
// });
|
|
7669
7680
|
svg
|
|
7670
7681
|
.selectAll('g.x1.axis1 g.tick text')
|
|
7671
7682
|
.attr('class', 'lib-xaxis-labels-texts-drilldown')
|
|
7672
7683
|
.attr('y', this.CONSTANTS.SHORT_TICK_LENGTH_BG)
|
|
7673
|
-
.text((d) =>
|
|
7674
|
-
const trimmed = d.trim();
|
|
7675
|
-
const spaceIndex = trimmed.indexOf(' ');
|
|
7676
|
-
return spaceIndex > -1
|
|
7677
|
-
? trimmed.substring(0, spaceIndex).toLowerCase()
|
|
7678
|
-
: trimmed.toLowerCase();
|
|
7679
|
-
});
|
|
7684
|
+
.text((d) => d);
|
|
7680
7685
|
svg
|
|
7681
7686
|
.selectAll('g.x1.axis1 g.tick')
|
|
7682
7687
|
.append('text')
|
|
@@ -9024,7 +9029,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9024
9029
|
.attr('y1', yZero)
|
|
9025
9030
|
.attr('y2', yZero)
|
|
9026
9031
|
.style('stroke-dasharray', '5 5')
|
|
9027
|
-
.style('stroke',
|
|
9032
|
+
.style('stroke', this.chartData.targetLineData.color);
|
|
9028
9033
|
// Add target label
|
|
9029
9034
|
const dataTypeTemp = metaData.dataType || '';
|
|
9030
9035
|
const targetLineName = this.chartData.targetLineData.targetName || 'target';
|