logitude-dashboard-library 3.2.13 → 3.2.14
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/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -2143,6 +2143,13 @@ function setDualyAxis(chartInfo, widget, seriesMeasures) {
|
|
|
2143
2143
|
chartInfo.pYAxisNameBorderPadding = 0;
|
|
2144
2144
|
chartInfo.sYAxisNameBorderPadding = 0;
|
|
2145
2145
|
chartInfo.sNumberSuffix = isSecondMeasureTypePercentage(widget) ? "%" : null;
|
|
2146
|
+
|
|
2147
|
+
if (isNullOrUndefined(seriesMeasures)) {
|
|
2148
|
+
chartInfo.pYAxisName = "";
|
|
2149
|
+
chartInfo.sYAxisname = "";
|
|
2150
|
+
return;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2146
2153
|
var textLength = Math.max(seriesMeasures[0].Name.length, seriesMeasures[1].Name.length);
|
|
2147
2154
|
chartInfo.pYAxisName = getTitle((_seriesMeasures$ = seriesMeasures[0]) === null || _seriesMeasures$ === void 0 ? void 0 : _seriesMeasures$.Name, textLength);
|
|
2148
2155
|
chartInfo.sYAxisname = getTitle((_seriesMeasures$2 = seriesMeasures[1]) === null || _seriesMeasures$2 === void 0 ? void 0 : _seriesMeasures$2.Name, textLength);
|