@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 CHANGED
@@ -360,4 +360,9 @@
360
360
  ## 3.0.0-alpha.81(2023-04-25)
361
361
  ### Web端
362
362
  #### Bug Fix
363
- 1. FLEXCLOUD-2583 模拟时点击刷新按钮告警表删闪跳
363
+ 1. FLEXCLOUD-2583 模拟时点击刷新按钮告警表删闪跳
364
+
365
+ ## 3.0.0-alpha.82(2023-04-26)
366
+ ### Web端
367
+ #### Bug Fix
368
+ 1. FLEXCLOUD-2473 【web端】组态设计:历史曲线组件网格显示设置
@@ -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