@siemens/charts-ng 48.0.0-next.3 → 48.0.0-next.5
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.
|
@@ -1408,7 +1408,7 @@ class SiChartComponent {
|
|
|
1408
1408
|
this.modifyTopAlignment('subTitle');
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
|
-
else if (!title && !subTitle) {
|
|
1411
|
+
else if (!title && !subTitle && !options.title) {
|
|
1412
1412
|
this.modifyTopAlignment('noTitle');
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
@@ -2150,7 +2150,7 @@ class SiChartComponent {
|
|
|
2150
2150
|
const bodyStyle = window.getComputedStyle(document.body);
|
|
2151
2151
|
const options = this.actualOptions;
|
|
2152
2152
|
options.textStyle = {
|
|
2153
|
-
fontFamily: bodyStyle.fontFamily,
|
|
2153
|
+
fontFamily: navigator.webdriver ? 'sans-serif' : bodyStyle.fontFamily,
|
|
2154
2154
|
fontSize: bodyStyle.fontSize
|
|
2155
2155
|
};
|
|
2156
2156
|
this.extZoomSliderOptions.textStyle = options.textStyle;
|