@flexem/fc-gui 3.0.0-alpha.41 → 3.0.0-alpha.42
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/CHANGELOG.md +6 -1
- package/bundles/@flexem/fc-gui.umd.js +4 -4
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/historical-curve/historical-curve.element.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -26980,17 +26980,17 @@ class historical_curve_element_HistoricalCurveElement extends conditional_displa
|
|
|
26980
26980
|
chart.update();
|
|
26981
26981
|
this.rootElement.selectAll('.nv-noData').attr('x', chartWidth / 2).attr('y', chartHeight / 2 + this.displayOption.operationAreaHeight);
|
|
26982
26982
|
});
|
|
26983
|
-
const fontSize = (
|
|
26983
|
+
const fontSize = (_b = (_a = this.model.displaySetting.axisSetting) === null || _a === void 0 ? void 0 : _a.axisLabelFont) === null || _b === void 0 ? void 0 : _b.fontSize;
|
|
26984
26984
|
this.rootElement.selectAll('.domain').style('stroke-opacity', 1);
|
|
26985
26985
|
if (this.model.displaySetting.showAxis && this.model.displaySetting.axisSetting) {
|
|
26986
26986
|
const axisColor = this.model.displaySetting.axisSetting.axisColor;
|
|
26987
26987
|
this.rootElement.selectAll('.domain').style('stroke', axisColor);
|
|
26988
|
-
if (this.model.displaySetting.axisSetting.showAxisLabel) {
|
|
26988
|
+
if (fontSize && this.model.displaySetting.axisSetting.showAxisLabel) {
|
|
26989
26989
|
this.rootElement.selectAll('.nv-axisMaxMin').select('text').style('font-size', fontSize);
|
|
26990
26990
|
}
|
|
26991
26991
|
}
|
|
26992
|
-
|
|
26993
|
-
|
|
26992
|
+
if (fontSize && this.currentTimePeriod === 3 || this.currentTimePeriod === 4 || this.currentTimePeriod === 5) {
|
|
26993
|
+
const self = this;
|
|
26994
26994
|
this.rootElement
|
|
26995
26995
|
.selectAll('.nv-x')
|
|
26996
26996
|
.selectAll('.tick')
|