pace-chart-lib 1.0.26 → 1.0.27
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/dist/Components/Charts/Core/Common.types.d.ts +7 -0
- package/dist/pace-chart-lib.es.js +157 -161
- package/dist/pace-chart-lib.umd.js +157 -161
- package/package.json +1 -1
|
@@ -10865,6 +10865,14 @@
|
|
|
10865
10865
|
tornadoEntryName2["default"] = "defaultEntry";
|
|
10866
10866
|
return tornadoEntryName2;
|
|
10867
10867
|
})(tornadoEntryName || {});
|
|
10868
|
+
var waterfallKeys = /* @__PURE__ */ ((waterfallKeys2) => {
|
|
10869
|
+
waterfallKeys2["total"] = "Total";
|
|
10870
|
+
waterfallKeys2["base"] = "base";
|
|
10871
|
+
waterfallKeys2["dimensionTotal"] = "dimensionTotal";
|
|
10872
|
+
waterfallKeys2["up"] = "up";
|
|
10873
|
+
waterfallKeys2["down"] = "down";
|
|
10874
|
+
return waterfallKeys2;
|
|
10875
|
+
})(waterfallKeys || {});
|
|
10868
10876
|
const defaultChartFormatOptions = {
|
|
10869
10877
|
chartDescription: {
|
|
10870
10878
|
chartDescriptionVisibility: false,
|
|
@@ -12097,21 +12105,45 @@
|
|
|
12097
12105
|
return format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12098
12106
|
case staticNumberUnits.currency_USD:
|
|
12099
12107
|
formatter = `,.${decimalValues}f`;
|
|
12108
|
+
if (measureValue < 0) {
|
|
12109
|
+
const number2 = Math.abs(measureValue);
|
|
12110
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12111
|
+
}
|
|
12100
12112
|
return "$" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12101
12113
|
case staticNumberUnits.currency_CAD:
|
|
12102
12114
|
formatter = `,.${decimalValues}f`;
|
|
12115
|
+
if (measureValue < 0) {
|
|
12116
|
+
const number2 = Math.abs(measureValue);
|
|
12117
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12118
|
+
}
|
|
12103
12119
|
return "C$" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12104
12120
|
case staticNumberUnits.currency_EUR:
|
|
12105
12121
|
formatter = `,.${decimalValues}f`;
|
|
12122
|
+
if (measureValue < 0) {
|
|
12123
|
+
const number2 = Math.abs(measureValue);
|
|
12124
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12125
|
+
}
|
|
12106
12126
|
return "€" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12107
12127
|
case staticNumberUnits.currency_CHF:
|
|
12108
12128
|
formatter = `,.${decimalValues}f`;
|
|
12129
|
+
if (measureValue < 0) {
|
|
12130
|
+
const number2 = Math.abs(measureValue);
|
|
12131
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12132
|
+
}
|
|
12109
12133
|
return "CHF" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12110
12134
|
case staticNumberUnits.currency_UK:
|
|
12111
12135
|
formatter = `,.${decimalValues}f`;
|
|
12136
|
+
if (measureValue < 0) {
|
|
12137
|
+
const number2 = Math.abs(measureValue);
|
|
12138
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12139
|
+
}
|
|
12112
12140
|
return "£" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12113
12141
|
case staticNumberUnits.currency_INR:
|
|
12114
12142
|
formatter = `,.${decimalValues}f`;
|
|
12143
|
+
if (measureValue < 0) {
|
|
12144
|
+
const number2 = Math.abs(measureValue);
|
|
12145
|
+
return "-$" + format(formatter)(number2) + displayUnitsPostFix;
|
|
12146
|
+
}
|
|
12115
12147
|
return "₹" + format(formatter)(measureValue) + displayUnitsPostFix;
|
|
12116
12148
|
case staticNumberUnits.commaSeparated:
|
|
12117
12149
|
formatter = `,.${decimalValues}f`;
|
|
@@ -12290,10 +12322,9 @@
|
|
|
12290
12322
|
}
|
|
12291
12323
|
function responsiveYaxisLabel$1(Ymax, Ymin, innerHeight2, formatOptions, chartJSON, customYaxisMinValue, customYaxisMaxValue, barChart, innerWidth2) {
|
|
12292
12324
|
try {
|
|
12325
|
+
let yAxisIntervalsVisibility = formatOptions.yAxisLabel.yAxisIntervalsVisibility;
|
|
12293
12326
|
let autoLabelFlag = false;
|
|
12294
|
-
let customYaxisIntervalValue = parseFloat(
|
|
12295
|
-
formatOptions.yAxisLabel.yAxisIntervalText
|
|
12296
|
-
);
|
|
12327
|
+
let customYaxisIntervalValue = yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisIntervalText) : void 0;
|
|
12297
12328
|
let yAxisLabelArray = [];
|
|
12298
12329
|
let customTickValue;
|
|
12299
12330
|
const isTornadoChart = chartJSON.chartType === chartTypes.TornadoChart;
|
|
@@ -12842,6 +12873,7 @@
|
|
|
12842
12873
|
const isTornadoChart = chartType === chartTypes.TornadoChart;
|
|
12843
12874
|
let annotationType = formatOptions.annotation.annotationType ?? "1";
|
|
12844
12875
|
let annotationPosition = formatOptions.annotation.annotationPosition.toString() != "4" ? formatOptions.annotation.annotationPosition : null;
|
|
12876
|
+
let dataLabelColor = formatOptions?.annotation?.annotationSetLabelColor == "2" ? "color" : "labelColor";
|
|
12845
12877
|
if (formatOptions.annotation.annotationVisibility) {
|
|
12846
12878
|
let Disable = [annotationType == "1" ? "connector" : ""];
|
|
12847
12879
|
let labelData = [];
|
|
@@ -12875,7 +12907,7 @@
|
|
|
12875
12907
|
Measure: d.data[0].value,
|
|
12876
12908
|
Legend: d.data[0].legend,
|
|
12877
12909
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12878
|
-
Labelcolor: d.properties
|
|
12910
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12879
12911
|
Axis: d.properties.axis
|
|
12880
12912
|
});
|
|
12881
12913
|
}
|
|
@@ -12890,7 +12922,7 @@
|
|
|
12890
12922
|
Measure: d.data[d.data.length - 1].value,
|
|
12891
12923
|
Legend: d.data[d.data.length - 1].legend,
|
|
12892
12924
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12893
|
-
Labelcolor: d.properties
|
|
12925
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12894
12926
|
Axis: d.properties.axis
|
|
12895
12927
|
});
|
|
12896
12928
|
}
|
|
@@ -12906,7 +12938,7 @@
|
|
|
12906
12938
|
Measure: d.data[0].value,
|
|
12907
12939
|
Legend: d.data[0].legend,
|
|
12908
12940
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12909
|
-
Labelcolor: d.properties
|
|
12941
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12910
12942
|
Axis: d.properties.axis
|
|
12911
12943
|
});
|
|
12912
12944
|
}
|
|
@@ -12919,7 +12951,7 @@
|
|
|
12919
12951
|
Measure: d.data[d.data.length - 1].value,
|
|
12920
12952
|
Legend: d.data[d.data.length - 1].legend,
|
|
12921
12953
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12922
|
-
Labelcolor: d.properties
|
|
12954
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12923
12955
|
Axis: d.properties.axis
|
|
12924
12956
|
});
|
|
12925
12957
|
}
|
|
@@ -12935,7 +12967,7 @@
|
|
|
12935
12967
|
Measure: d.data[i].value,
|
|
12936
12968
|
Legend: d.data[i].legend,
|
|
12937
12969
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12938
|
-
Labelcolor: d.properties
|
|
12970
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12939
12971
|
Axis: d.properties.axis
|
|
12940
12972
|
});
|
|
12941
12973
|
}
|
|
@@ -12957,7 +12989,7 @@
|
|
|
12957
12989
|
Measure: d.data[i].value,
|
|
12958
12990
|
Legend: d.data[i].legend,
|
|
12959
12991
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12960
|
-
Labelcolor: d.properties
|
|
12992
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12961
12993
|
Axis: d.properties.axis
|
|
12962
12994
|
});
|
|
12963
12995
|
}
|
|
@@ -12972,7 +13004,7 @@
|
|
|
12972
13004
|
Measure: d.data[0].value,
|
|
12973
13005
|
Legend: d.data[0].legend,
|
|
12974
13006
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12975
|
-
Labelcolor: d.properties
|
|
13007
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12976
13008
|
Axis: d.properties.axis
|
|
12977
13009
|
});
|
|
12978
13010
|
break;
|
|
@@ -12983,7 +13015,7 @@
|
|
|
12983
13015
|
Measure: d.data[d.data.length - 1].value,
|
|
12984
13016
|
Legend: d.data[d.data.length - 1].legend,
|
|
12985
13017
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12986
|
-
Labelcolor: d.properties
|
|
13018
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12987
13019
|
Axis: d.properties.axis
|
|
12988
13020
|
});
|
|
12989
13021
|
break;
|
|
@@ -12994,7 +13026,7 @@
|
|
|
12994
13026
|
Measure: d.data[0].value,
|
|
12995
13027
|
Legend: d.data[0].legend,
|
|
12996
13028
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
12997
|
-
Labelcolor: d.properties
|
|
13029
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
12998
13030
|
Axis: d.properties.axis
|
|
12999
13031
|
});
|
|
13000
13032
|
if (d.data[d.data.length - 1])
|
|
@@ -13003,7 +13035,7 @@
|
|
|
13003
13035
|
Measure: d.data[d.data.length - 1].value,
|
|
13004
13036
|
Legend: d.data[d.data.length - 1].legend,
|
|
13005
13037
|
LabelPosition: annotationPosition ? annotationPosition : d.properties.annotationPosition,
|
|
13006
|
-
Labelcolor: d.properties
|
|
13038
|
+
Labelcolor: d.properties[dataLabelColor],
|
|
13007
13039
|
Axis: d.properties.axis
|
|
13008
13040
|
});
|
|
13009
13041
|
break;
|
|
@@ -15466,7 +15498,7 @@
|
|
|
15466
15498
|
return Symbol$1().type(Markershapes(d.markerShape)).size(d.markerSize * 50)();
|
|
15467
15499
|
}).attr("visibility", (d) => {
|
|
15468
15500
|
const hideByX = !xScale(d.dimension) && xScale(d.dimension) !== 0;
|
|
15469
|
-
const visible = formatOptions.marker.markerVisibility ? checkVisibleConditions(chartData, d, type, hideZeroValues,
|
|
15501
|
+
const visible = formatOptions.marker.markerVisibility ? checkVisibleConditions(chartData, d, type, hideZeroValues, yScaleRight, customYaxisMinValue, customYaxisMaxValue) ? visibilityCondition.hidden : [chartTypes.NormalizedStackLineChart, chartTypes.CombinationLine, chartTypes.CombinationArea].includes(type) ? formatOptions.plotArea.plotAreaHideLineAndMarkers ? visibilityCondition.visible : visibilityCondition.hidden : [chartTypes.StackAreaChart, chartTypes.AreaChart, chartTypes.CombinationStackArea].includes(type) ? formatOptions.plotArea.plotAreaHideLineAndMarkers ? visibilityCondition.visible : visibilityCondition.hidden : visibilityCondition.visible : [chartTypes.CombinationLine, chartTypes.CombinationArea].includes(type) ? visibilityCondition.visible : ["Area"].includes(type) ? formatOptions.plotArea.plotAreaHideLineAndMarkers ? visibilityCondition.visible : visibilityCondition.hidden : visibilityCondition.hidden;
|
|
15470
15502
|
return hideByX ? visibilityCondition.hidden : visible;
|
|
15471
15503
|
}).attr("transform", (d) => {
|
|
15472
15504
|
let requiredYScale = d.axis == axisTypes.primary ? yScale : yScaleRight;
|
|
@@ -15535,10 +15567,10 @@
|
|
|
15535
15567
|
logError$2(fileName$b, "lineMarkers", error);
|
|
15536
15568
|
}
|
|
15537
15569
|
}
|
|
15538
|
-
const checkVisibleConditions = (chartData, d, type, hideZeroValues,
|
|
15570
|
+
const checkVisibleConditions = (chartData, d, type, hideZeroValues, yScaleRight, customYaxisMinValue, customYaxisMaxValue) => {
|
|
15539
15571
|
try {
|
|
15540
15572
|
if (chartData[0].properties.axis && chartData[0].properties.axis === "Secondary") {
|
|
15541
|
-
return hideZeroValues && d.value == 0 || d.value >
|
|
15573
|
+
return hideZeroValues && d.value == 0 || d.value > yScaleRight.domain()[1] || d.value < yScaleRight.domain()[0];
|
|
15542
15574
|
} else if (type.includes("Stack")) {
|
|
15543
15575
|
return d.value > 0 ? hideZeroValues && d[1] == 0 || d[1] < customYaxisMinValue || d[1] > customYaxisMaxValue : hideZeroValues && d[0] == 0 || d[0] < customYaxisMinValue || d[0] > customYaxisMaxValue;
|
|
15544
15576
|
} else return hideZeroValues && d.value == 0 || d.value < customYaxisMinValue || d.value > customYaxisMaxValue;
|
|
@@ -16480,14 +16512,14 @@
|
|
|
16480
16512
|
const barChart = false;
|
|
16481
16513
|
let isSecondaryAxisDrawn = false;
|
|
16482
16514
|
const isNormalizedChart = false;
|
|
16483
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
16484
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
16485
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
16515
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
16516
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
16517
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
16486
16518
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
16487
|
-
);
|
|
16488
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
16519
|
+
) : void 0;
|
|
16520
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
16489
16521
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
16490
|
-
);
|
|
16522
|
+
) : void 0;
|
|
16491
16523
|
let margin;
|
|
16492
16524
|
let yLabel;
|
|
16493
16525
|
let xLabel;
|
|
@@ -17052,14 +17084,14 @@
|
|
|
17052
17084
|
const barChart = false;
|
|
17053
17085
|
let isSecondaryAxisDrawn = false;
|
|
17054
17086
|
const isNormalizedChart = false;
|
|
17055
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
17056
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
17057
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
17087
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
17088
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
17089
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
17058
17090
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
17059
|
-
);
|
|
17060
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
17091
|
+
) : void 0;
|
|
17092
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
17061
17093
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
17062
|
-
);
|
|
17094
|
+
) : void 0;
|
|
17063
17095
|
let margin;
|
|
17064
17096
|
let yLabel;
|
|
17065
17097
|
let xLabel;
|
|
@@ -17319,7 +17351,7 @@
|
|
|
17319
17351
|
...point2,
|
|
17320
17352
|
type: series.properties.type,
|
|
17321
17353
|
axis: series.properties.axis,
|
|
17322
|
-
labelPosition: series.properties.dataLabelPosition,
|
|
17354
|
+
labelPosition: formatOptions?.annotation?.annotationPosition.toString() === "4" ? series.properties.dataLabelPosition.toString() : formatOptions?.annotation?.annotationPosition.toString(),
|
|
17323
17355
|
labelColor: series.properties.labelColor
|
|
17324
17356
|
};
|
|
17325
17357
|
if (newPoint.axis === "Secondary") {
|
|
@@ -17463,6 +17495,14 @@
|
|
|
17463
17495
|
]);
|
|
17464
17496
|
}
|
|
17465
17497
|
if (isSecondaryAxisDrawn) {
|
|
17498
|
+
let secondaryYAxisLabelArray = responsiveSecondaryYaxisLabel(
|
|
17499
|
+
secondaryCustomYaxisMaxValue ? secondaryCustomYaxisMaxValue : chartJSON.yMaxRight,
|
|
17500
|
+
secondaryCustomYaxisMinValue ? secondaryCustomYaxisMinValue : chartJSON.yMinRight,
|
|
17501
|
+
formatOptions,
|
|
17502
|
+
chartJSON
|
|
17503
|
+
).secondaryYAxisLabelArray;
|
|
17504
|
+
chartJSON.yMaxRight = secondaryYAxisLabelArray[secondaryYAxisLabelArray.length - 1];
|
|
17505
|
+
chartJSON.yMinRight = secondaryYAxisLabelArray[0];
|
|
17466
17506
|
yScaleRight = linear$1().domain([
|
|
17467
17507
|
chartJSON.yMinRight >= 0 ? (secondaryCustomYaxisMinValue || secondaryCustomYaxisMinValue == 0) && !Number.isNaN(secondaryCustomYaxisMinValue) ? secondaryCustomYaxisMinValue : 0 : (secondaryCustomYaxisMinValue || secondaryCustomYaxisMinValue == 0) && !Number.isNaN(secondaryCustomYaxisMinValue) ? secondaryCustomYaxisMinValue : chartJSON.yMinRight * 1.1,
|
|
17468
17508
|
chartJSON.yMaxRight <= 0 ? (secondaryCustomYaxisMaxValue || secondaryCustomYaxisMaxValue == 0) && !Number.isNaN(secondaryCustomYaxisMaxValue) ? secondaryCustomYaxisMaxValue : 0 : (secondaryCustomYaxisMaxValue || secondaryCustomYaxisMaxValue == 0) && !Number.isNaN(secondaryCustomYaxisMaxValue) ? secondaryCustomYaxisMaxValue : chartJSON.yMaxRight * 1.1
|
|
@@ -17572,7 +17612,7 @@
|
|
|
17572
17612
|
let columnGroups = column.selectAll(".column-group").data(data2.data, (d) => d.legend + d.dimension);
|
|
17573
17613
|
let columnGroupsEnter = columnGroups.enter().append("g").attr("class", "column-group").attr(
|
|
17574
17614
|
"hoverId",
|
|
17575
|
-
(d) =>
|
|
17615
|
+
(d) => (data2.properties.alias || data2.properties.name).includes("-") ? (data2.properties.alias || data2.properties.name).replace("-", "`").split("`")[1].replace(/ /g, "-") : (data2.properties.alias || data2.properties.name).replace(/ /g, "-")
|
|
17576
17616
|
).attr("transform", (d) => `translate(${xScale(d.dimension)}, 0)`);
|
|
17577
17617
|
columnGroupsEnter.merge(columnGroups).attr(
|
|
17578
17618
|
"transform",
|
|
@@ -17986,7 +18026,7 @@
|
|
|
17986
18026
|
stackData["individualAnnotationVisibility"] = JSON.parse(
|
|
17987
18027
|
JSON.stringify(requiredStackChatData.data[j].properties.annotation)
|
|
17988
18028
|
);
|
|
17989
|
-
d.data.labelPosition = requiredStackChatData.data[j].properties.dataLabelPosition;
|
|
18029
|
+
d.data.labelPosition = formatOptions?.annotation?.annotationPosition.toString() === "4" ? requiredStackChatData.data[j].properties.dataLabelPosition.toString() : formatOptions?.annotation?.annotationPosition.toString();
|
|
17990
18030
|
d.data["labelColor"] = seriesColor == "2" ? JSON.parse(
|
|
17991
18031
|
JSON.stringify(requiredStackChatData.data[j].properties.color)
|
|
17992
18032
|
) : JSON.parse(
|
|
@@ -18063,14 +18103,14 @@
|
|
|
18063
18103
|
const barChart = false;
|
|
18064
18104
|
const isSecondaryAxisDrawn = false;
|
|
18065
18105
|
const isNormalizedChart = false;
|
|
18066
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
18067
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
18068
|
-
parseFloat(
|
|
18106
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
18107
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
18108
|
+
formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
18069
18109
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
18070
|
-
);
|
|
18071
|
-
parseFloat(
|
|
18110
|
+
) : void 0;
|
|
18111
|
+
formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
18072
18112
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
18073
|
-
);
|
|
18113
|
+
) : void 0;
|
|
18074
18114
|
let margin;
|
|
18075
18115
|
let yLabel;
|
|
18076
18116
|
let xLabel;
|
|
@@ -18581,14 +18621,14 @@
|
|
|
18581
18621
|
const seriesData = (generalizedChartData(data.ChartData, data.DimensionList) || []).reverse();
|
|
18582
18622
|
const barChart = false;
|
|
18583
18623
|
const isSecondaryAxisDrawn = false;
|
|
18584
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
18585
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
18586
|
-
parseFloat(
|
|
18624
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
18625
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
18626
|
+
formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
18587
18627
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
18588
|
-
);
|
|
18589
|
-
parseFloat(
|
|
18628
|
+
) : void 0;
|
|
18629
|
+
formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
18590
18630
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
18591
|
-
);
|
|
18631
|
+
) : void 0;
|
|
18592
18632
|
let margin;
|
|
18593
18633
|
let yLabel;
|
|
18594
18634
|
let xLabel;
|
|
@@ -19299,14 +19339,8 @@
|
|
|
19299
19339
|
const dimensionList = data.DimensionList;
|
|
19300
19340
|
const barChart = false;
|
|
19301
19341
|
const isSecondaryAxisDrawn = false;
|
|
19302
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
19303
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
19304
|
-
parseFloat(
|
|
19305
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
19306
|
-
);
|
|
19307
|
-
parseFloat(
|
|
19308
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
19309
|
-
);
|
|
19342
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
19343
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
19310
19344
|
let margin;
|
|
19311
19345
|
let yLabel;
|
|
19312
19346
|
let xLabel;
|
|
@@ -20326,16 +20360,10 @@
|
|
|
20326
20360
|
const barChart = false;
|
|
20327
20361
|
const isSecondaryAxisDrawn = false;
|
|
20328
20362
|
const isNormalizedChart = false;
|
|
20329
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
20330
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
20331
|
-
let customXaxisMinValue = parseFloat(formatOptions.xAxisLabel.xAxisMinText);
|
|
20332
|
-
let customXaxisMaxValue = parseFloat(formatOptions.xAxisLabel.xAxisMaxText);
|
|
20333
|
-
parseFloat(
|
|
20334
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
20335
|
-
);
|
|
20336
|
-
parseFloat(
|
|
20337
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
20338
|
-
);
|
|
20363
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
20364
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
20365
|
+
let customXaxisMinValue = formatOptions.xAxisLabel.xAxisIntervalsVisibility ? parseFloat(formatOptions.xAxisLabel.xAxisMinText) : void 0;
|
|
20366
|
+
let customXaxisMaxValue = formatOptions.xAxisLabel.xAxisIntervalsVisibility ? parseFloat(formatOptions.xAxisLabel.xAxisMaxText) : void 0;
|
|
20339
20367
|
let margin;
|
|
20340
20368
|
let yLabel;
|
|
20341
20369
|
let xLabel;
|
|
@@ -20843,14 +20871,14 @@
|
|
|
20843
20871
|
const barChart = false;
|
|
20844
20872
|
let isSecondaryAxisDrawn = false;
|
|
20845
20873
|
const isNormalizedChart = false;
|
|
20846
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
20847
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
20848
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
20874
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
20875
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
20876
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
20849
20877
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
20850
|
-
);
|
|
20851
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
20878
|
+
) : void 0;
|
|
20879
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
20852
20880
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
20853
|
-
);
|
|
20881
|
+
) : void 0;
|
|
20854
20882
|
let margin;
|
|
20855
20883
|
let yLabel;
|
|
20856
20884
|
let xLabel;
|
|
@@ -21389,14 +21417,14 @@
|
|
|
21389
21417
|
const barChart = false;
|
|
21390
21418
|
const totalValueMap = /* @__PURE__ */ new Map();
|
|
21391
21419
|
const isSecondaryAxisDrawn = false;
|
|
21392
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
21393
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
21394
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
21420
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
21421
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
21422
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
21395
21423
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
21396
|
-
);
|
|
21397
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
21424
|
+
) : void 0;
|
|
21425
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
21398
21426
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
21399
|
-
);
|
|
21427
|
+
) : void 0;
|
|
21400
21428
|
let margin;
|
|
21401
21429
|
let yLabel;
|
|
21402
21430
|
let xLabel;
|
|
@@ -21962,14 +21990,14 @@
|
|
|
21962
21990
|
const dimensionList = data.DimensionList;
|
|
21963
21991
|
const barChart = false;
|
|
21964
21992
|
const isSecondaryAxisDrawn = false;
|
|
21965
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
21966
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
21967
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
21993
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
21994
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
21995
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
21968
21996
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
21969
|
-
);
|
|
21970
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
21997
|
+
) : void 0;
|
|
21998
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
21971
21999
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
21972
|
-
);
|
|
22000
|
+
) : void 0;
|
|
21973
22001
|
let margin;
|
|
21974
22002
|
let yLabel;
|
|
21975
22003
|
let xLabel;
|
|
@@ -22479,14 +22507,14 @@
|
|
|
22479
22507
|
const barChart = true;
|
|
22480
22508
|
let isSecondaryAxisDrawn = false;
|
|
22481
22509
|
const isNormalizedChart = false;
|
|
22482
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
22483
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
22484
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
22510
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
22511
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
22512
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
22485
22513
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
22486
|
-
);
|
|
22487
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
22514
|
+
) : void 0;
|
|
22515
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
22488
22516
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
22489
|
-
);
|
|
22517
|
+
) : void 0;
|
|
22490
22518
|
let margin;
|
|
22491
22519
|
let yLabel;
|
|
22492
22520
|
let xLabel;
|
|
@@ -22826,7 +22854,10 @@
|
|
|
22826
22854
|
lineData.forEach((data2) => {
|
|
22827
22855
|
let column = gTag.selectAll(".parentGroup").data([data2], (d) => d.legend);
|
|
22828
22856
|
column = column.enter().append("g").attr("class", "column parentGroup").merge(column);
|
|
22829
|
-
let columnGroups = column.selectAll(".column-group").data(
|
|
22857
|
+
let columnGroups = column.selectAll(".column-group").data(
|
|
22858
|
+
data2.data.map((d) => ({ ...d, properties: data2.properties })),
|
|
22859
|
+
(d) => d.legend + d.dimension
|
|
22860
|
+
);
|
|
22830
22861
|
let columnGroupsEnter = columnGroups.enter().append("g").attr("class", "column-group").attr(
|
|
22831
22862
|
"hoverId",
|
|
22832
22863
|
(data2.properties.alias || data2.properties.name || "Legend").replace(
|
|
@@ -22896,7 +22927,7 @@
|
|
|
22896
22927
|
},
|
|
22897
22928
|
{
|
|
22898
22929
|
key: "Legend",
|
|
22899
|
-
value: d.
|
|
22930
|
+
value: d.properties.alias
|
|
22900
22931
|
}
|
|
22901
22932
|
],
|
|
22902
22933
|
formatOptions,
|
|
@@ -23000,14 +23031,8 @@
|
|
|
23000
23031
|
const dimensionList = data.DimensionList;
|
|
23001
23032
|
const barChart = true;
|
|
23002
23033
|
const isSecondaryAxisDrawn = false;
|
|
23003
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
23004
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
23005
|
-
parseFloat(
|
|
23006
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
23007
|
-
);
|
|
23008
|
-
parseFloat(
|
|
23009
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
23010
|
-
);
|
|
23034
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
23035
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
23011
23036
|
let margin;
|
|
23012
23037
|
let yLabel;
|
|
23013
23038
|
let xLabel;
|
|
@@ -23709,14 +23734,8 @@
|
|
|
23709
23734
|
const dimensionList = data.DimensionList;
|
|
23710
23735
|
const barChart = true;
|
|
23711
23736
|
const isSecondaryAxisDrawn = false;
|
|
23712
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
23713
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
23714
|
-
parseFloat(
|
|
23715
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
23716
|
-
);
|
|
23717
|
-
parseFloat(
|
|
23718
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
23719
|
-
);
|
|
23737
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
23738
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
23720
23739
|
let margin;
|
|
23721
23740
|
let yLabel;
|
|
23722
23741
|
let xLabel;
|
|
@@ -24178,14 +24197,8 @@
|
|
|
24178
24197
|
const dimensionList = data.DimensionList;
|
|
24179
24198
|
const barChart = true;
|
|
24180
24199
|
const isSecondaryAxisDrawn = false;
|
|
24181
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
24182
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
24183
|
-
parseFloat(
|
|
24184
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
24185
|
-
);
|
|
24186
|
-
parseFloat(
|
|
24187
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
24188
|
-
);
|
|
24200
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
24201
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
24189
24202
|
let margin;
|
|
24190
24203
|
let yLabel;
|
|
24191
24204
|
let xLabel;
|
|
@@ -24862,16 +24875,10 @@
|
|
|
24862
24875
|
const barChart = false;
|
|
24863
24876
|
const isSecondaryAxisDrawn = false;
|
|
24864
24877
|
const isNormalizedChart = false;
|
|
24865
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
24866
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
24867
|
-
let customXaxisMinValue = parseFloat(formatOptions.xAxisLabel.xAxisMinText);
|
|
24868
|
-
let customXaxisMaxValue = parseFloat(formatOptions.xAxisLabel.xAxisMaxText);
|
|
24869
|
-
parseFloat(
|
|
24870
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
24871
|
-
);
|
|
24872
|
-
parseFloat(
|
|
24873
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
24874
|
-
);
|
|
24878
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
24879
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
24880
|
+
let customXaxisMinValue = formatOptions.xAxisLabel.xAxisIntervalsVisibility ? parseFloat(formatOptions.xAxisLabel.xAxisMinText) : void 0;
|
|
24881
|
+
let customXaxisMaxValue = formatOptions.xAxisLabel.xAxisIntervalsVisibility ? parseFloat(formatOptions.xAxisLabel.xAxisMaxText) : void 0;
|
|
24875
24882
|
let margin;
|
|
24876
24883
|
let yLabel;
|
|
24877
24884
|
let xLabel;
|
|
@@ -25381,14 +25388,14 @@
|
|
|
25381
25388
|
const barChart = false;
|
|
25382
25389
|
const isSecondaryAxisDrawn = false;
|
|
25383
25390
|
const isNormalizedChart = false;
|
|
25384
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
25385
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
25386
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
25391
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
25392
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
25393
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
25387
25394
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
25388
|
-
);
|
|
25389
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
25395
|
+
) : void 0;
|
|
25396
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
25390
25397
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
25391
|
-
);
|
|
25398
|
+
) : void 0;
|
|
25392
25399
|
let margin;
|
|
25393
25400
|
let yLabel;
|
|
25394
25401
|
let xLabel;
|
|
@@ -25908,14 +25915,14 @@
|
|
|
25908
25915
|
const dimensionList = data.DimensionList;
|
|
25909
25916
|
const barChart = false;
|
|
25910
25917
|
const isSecondaryAxisDrawn = false;
|
|
25911
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
25912
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
25913
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
25918
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
25919
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
25920
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
25914
25921
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
25915
|
-
);
|
|
25916
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
25922
|
+
) : void 0;
|
|
25923
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
25917
25924
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
25918
|
-
);
|
|
25925
|
+
) : void 0;
|
|
25919
25926
|
let margin;
|
|
25920
25927
|
let yLabel;
|
|
25921
25928
|
let xLabel;
|
|
@@ -26498,14 +26505,14 @@
|
|
|
26498
26505
|
const dimensionList = data.DimensionList;
|
|
26499
26506
|
const barChart = false;
|
|
26500
26507
|
const isSecondaryAxisDrawn = false;
|
|
26501
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
26502
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
26503
|
-
let secondaryCustomYaxisMinValue = parseFloat(
|
|
26508
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
26509
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
26510
|
+
let secondaryCustomYaxisMinValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
26504
26511
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
26505
|
-
);
|
|
26506
|
-
let secondaryCustomYaxisMaxValue = parseFloat(
|
|
26512
|
+
) : void 0;
|
|
26513
|
+
let secondaryCustomYaxisMaxValue = formatOptions.secondaryYAxisLabel.secondaryYAxisIntervalsVisibility ? parseFloat(
|
|
26507
26514
|
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
26508
|
-
);
|
|
26515
|
+
) : void 0;
|
|
26509
26516
|
let margin;
|
|
26510
26517
|
let yLabel;
|
|
26511
26518
|
let xLabel;
|
|
@@ -27244,7 +27251,7 @@
|
|
|
27244
27251
|
try {
|
|
27245
27252
|
const arc2 = arc$1().innerRadius(0).outerRadius(radius);
|
|
27246
27253
|
const arcOver = arc$1().innerRadius(0).outerRadius(radius + 10);
|
|
27247
|
-
chartAreaTagG.append("g").attr("class", "parentGroup").attr("fill-opacity", chartFormatOptions.plotArea.opacity).attr("transform", `${getPiePosition()}`).selectAll("path").data(pieChartData).enter().append("path").attr("class", (d) => "path
|
|
27254
|
+
chartAreaTagG.append("g").attr("class", "parentGroup").attr("fill-opacity", chartFormatOptions.plotArea.opacity).attr("transform", `${getPiePosition()}`).selectAll("path").data(pieChartData).enter().append("path").attr("class", (d) => "path").attr(
|
|
27248
27255
|
"hoverId",
|
|
27249
27256
|
(d) => (d.data?.properties?.alias || d.data?.properties?.name || "Legend").replace(/\s+/g, "-")
|
|
27250
27257
|
).attr(
|
|
@@ -27638,7 +27645,7 @@
|
|
|
27638
27645
|
const arc2 = arc$1().innerRadius(innerRadius).outerRadius(radius);
|
|
27639
27646
|
const arcOver = arc$1().innerRadius(innerRadius).outerRadius(radius + 10);
|
|
27640
27647
|
const parentGroup = chartAreaTagG.append("g").attr("class", "parentGroup").attr("fill-opacity", chartFormatOptions.plotArea.opacity).attr("transform", `${getPiePosition()}`);
|
|
27641
|
-
const paths = parentGroup.selectAll("path").data(pieChartData).enter().append("path").attr("class", (d) => "path
|
|
27648
|
+
const paths = parentGroup.selectAll("path").data(pieChartData).enter().append("path").attr("class", (d) => "path").attr(
|
|
27642
27649
|
"hoverId",
|
|
27643
27650
|
(d) => (d.data?.properties?.alias || d.data?.properties?.name || "Legend").replace(/\s+/g, "-")
|
|
27644
27651
|
).attr(
|
|
@@ -53947,14 +53954,8 @@
|
|
|
53947
53954
|
const barChart = false;
|
|
53948
53955
|
const isSecondaryAxisDrawn = false;
|
|
53949
53956
|
const isNormalizedChart = false;
|
|
53950
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
53951
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
53952
|
-
parseFloat(
|
|
53953
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
53954
|
-
);
|
|
53955
|
-
parseFloat(
|
|
53956
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
53957
|
-
);
|
|
53957
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
53958
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
53958
53959
|
let margin;
|
|
53959
53960
|
let yLabel;
|
|
53960
53961
|
let xLabel;
|
|
@@ -54380,16 +54381,17 @@
|
|
|
54380
54381
|
"visibility",
|
|
54381
54382
|
(d) => k2 === 0 && d.data.dimension && stackTotalData ? "hidden" : "visible"
|
|
54382
54383
|
).style("shape-rendering", "crispEdges").on("mousemove", (event2, d) => {
|
|
54384
|
+
const key = !isAdvancedWaterfall ? waterfallKeys.dimensionTotal : waterfallKeys.base;
|
|
54383
54385
|
const markerInfo = {
|
|
54384
54386
|
markerShape: "square",
|
|
54385
|
-
markerColor: d.key ===
|
|
54387
|
+
markerColor: d.key === key ? formatOptions.plotArea.totalColor : d.key === waterfallKeys.down ? formatOptions.plotArea.negativeColor : formatOptions.plotArea.positiveColor
|
|
54386
54388
|
};
|
|
54387
54389
|
showTooltipOnMouseMove(
|
|
54388
54390
|
[
|
|
54389
54391
|
{
|
|
54390
54392
|
key: formatOptions.yAxisTitle.yAxisTitleText,
|
|
54391
|
-
value: (d.key ===
|
|
54392
|
-
d.key ===
|
|
54393
|
+
value: (d.key === waterfallKeys.up ? "+" : d.key === waterfallKeys.down ? "-" : "") + getNumberWithFormat(
|
|
54394
|
+
d.key === waterfallKeys.dimensionTotal ? d.data.dimensionTotal : d[1] - d[0],
|
|
54393
54395
|
formatOptions.toolTip.toolTipDisplayUnits,
|
|
54394
54396
|
formatOptions.toolTip.toolTipNumberFormat,
|
|
54395
54397
|
formatOptions.toolTip.toolTipDecimalPrecision
|
|
@@ -54397,7 +54399,7 @@
|
|
|
54397
54399
|
},
|
|
54398
54400
|
{
|
|
54399
54401
|
key: "Legend",
|
|
54400
|
-
value: d.Key ? d.Key.includes("~$~") ? d.Key.split("~$~")[1] : d.Key : d.data.legend ? d.data.legend.includes("~$~") ? d.data.legend.split("~$~")[1] : d.data.legend :
|
|
54402
|
+
value: !isAdvancedWaterfall ? d.Key ? d.Key.includes("~$~") ? d.Key.split("~$~")[1] : d.Key : d.data.legend ? d.data.legend.includes("~$~") ? d.data.legend.split("~$~")[1] : d.data.legend : waterfallKeys.total : d.key !== waterfallKeys.base ? d.data.xKey : waterfallKeys.total
|
|
54401
54403
|
}
|
|
54402
54404
|
],
|
|
54403
54405
|
formatOptions,
|
|
@@ -54641,14 +54643,8 @@
|
|
|
54641
54643
|
const barChart = true;
|
|
54642
54644
|
const isSecondaryAxisDrawn = false;
|
|
54643
54645
|
const isNormalizedChart = false;
|
|
54644
|
-
let customYaxisMinValue = parseFloat(formatOptions.yAxisLabel.yAxisMinText);
|
|
54645
|
-
let customYaxisMaxValue = parseFloat(formatOptions.yAxisLabel.yAxisMaxText);
|
|
54646
|
-
parseFloat(
|
|
54647
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMinText
|
|
54648
|
-
);
|
|
54649
|
-
parseFloat(
|
|
54650
|
-
formatOptions.secondaryYAxisLabel.secondaryYAxisMaxText
|
|
54651
|
-
);
|
|
54646
|
+
let customYaxisMinValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMinText) : void 0;
|
|
54647
|
+
let customYaxisMaxValue = formatOptions.yAxisLabel.yAxisIntervalsVisibility ? parseFloat(formatOptions.yAxisLabel.yAxisMaxText) : void 0;
|
|
54652
54648
|
let margin;
|
|
54653
54649
|
let yLabel;
|
|
54654
54650
|
let xLabel;
|