@flexem/fc-gui 3.0.0-alpha.81 → 3.0.0-alpha.82
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 +14 -0
- 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 +14 -0
- package/model/historical-curve/historical-curve-axis-settings.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -36573,6 +36573,20 @@ class historical_curve_element_HistoricalCurveElement extends conditional_displa
|
|
|
36573
36573
|
this.rootElement.selectAll('.nv-axisMaxMin').select('text').style('font-size', fontSize);
|
|
36574
36574
|
}
|
|
36575
36575
|
}
|
|
36576
|
+
let strokeWidth = 0;
|
|
36577
|
+
if (this.model.displaySetting.axisSetting.showTick !== false) {
|
|
36578
|
+
strokeWidth = 1;
|
|
36579
|
+
}
|
|
36580
|
+
this.rootElement
|
|
36581
|
+
.selectAll('.nv-x')
|
|
36582
|
+
.selectAll('.tick')
|
|
36583
|
+
.selectAll('line')
|
|
36584
|
+
.attr('style', `stroke:${this.model.displaySetting.axisSetting.xAxisTickColor || 'rgb(127, 147, 159)'};stroke-width:${strokeWidth};`);
|
|
36585
|
+
this.rootElement
|
|
36586
|
+
.selectAll('.nv-y')
|
|
36587
|
+
.selectAll('.tick')
|
|
36588
|
+
.selectAll('line')
|
|
36589
|
+
.attr('style', `stroke:${this.model.displaySetting.axisSetting.yAxisTickColor || 'rgb(127, 147, 159)'};stroke-width:${strokeWidth};`);
|
|
36576
36590
|
if (fontSize && this.currentTimePeriod === 3 || this.currentTimePeriod === 4 || this.currentTimePeriod === 5) {
|
|
36577
36591
|
const self = this;
|
|
36578
36592
|
this.rootElement
|