@porscheinformatik/clr-addons 21.1.2 → 21.1.3
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/fesm2022/porscheinformatik-clr-addons-charts.mjs +0 -6
- package/fesm2022/porscheinformatik-clr-addons-charts.mjs.map +1 -1
- package/fesm2022/porscheinformatik-clr-addons.mjs +2 -4
- package/fesm2022/porscheinformatik-clr-addons.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/clr-addons-phs.css +4 -0
- package/styles/clr-addons-phs.css.map +1 -1
- package/styles/clr-addons-phs.min.css +1 -1
- package/styles/clr-addons-phs.min.css.map +1 -1
|
@@ -815,7 +815,6 @@ class BarChartComponent extends ChartBase {
|
|
|
815
815
|
.selectAll('text');
|
|
816
816
|
this.labelSelection = labelSelection
|
|
817
817
|
.data(labels)
|
|
818
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
819
818
|
.call(this.addTextCommonInfo)
|
|
820
819
|
.style('cursor', 'pointer')
|
|
821
820
|
.call(this.addTextAndTitle.bind(this), x.bandwidth())
|
|
@@ -827,7 +826,6 @@ class BarChartComponent extends ChartBase {
|
|
|
827
826
|
.append('g')
|
|
828
827
|
.call(axisLeft(y).tickValues(tickValues).tickSize(-width).tickFormat(format('~s')))
|
|
829
828
|
.selectAll('text');
|
|
830
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
831
829
|
yAxis.call(this.addTextCommonInfo);
|
|
832
830
|
this.createBarSelectionGroups(g);
|
|
833
831
|
// Add highlight rect (behind)
|
|
@@ -858,7 +856,6 @@ class BarChartComponent extends ChartBase {
|
|
|
858
856
|
.attr('transform', `translate(0,${height})`)
|
|
859
857
|
.call(axisBottom(x).tickValues(tickValues).tickSize(-height).tickFormat(format('~s')))
|
|
860
858
|
.selectAll('text');
|
|
861
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
862
859
|
xAxis.call(this.addTextCommonInfo);
|
|
863
860
|
// Y Axis
|
|
864
861
|
const labelSelection = g
|
|
@@ -868,7 +865,6 @@ class BarChartComponent extends ChartBase {
|
|
|
868
865
|
.selectAll('text');
|
|
869
866
|
this.labelSelection = labelSelection
|
|
870
867
|
.data(labels)
|
|
871
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
872
868
|
.call(this.addTextCommonInfo)
|
|
873
869
|
.style('cursor', 'pointer')
|
|
874
870
|
.call(this.addTextAndTitle.bind(this), this.MARGIN.left - 10)
|
|
@@ -1834,11 +1830,9 @@ class PieChartComponent extends ChartBase {
|
|
|
1834
1830
|
.attr('stroke-width', 2)
|
|
1835
1831
|
.style('cursor', 'pointer')
|
|
1836
1832
|
.on('mouseover', (e) => {
|
|
1837
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1838
1833
|
select(e.currentTarget).attr('d', hoverArc);
|
|
1839
1834
|
})
|
|
1840
1835
|
.on('mouseout', (e) => {
|
|
1841
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1842
1836
|
select(e.currentTarget).attr('d', this.arcGen);
|
|
1843
1837
|
})
|
|
1844
1838
|
.on('click', (event, d) => {
|