Browse Source

Merge pull request 'zhp' (#12) from zhp into features/warning

Reviewed-on: http://git.picaiba.com/mt-fe-group/xuchang-new/pulls/12
features/warning
zhp 1 day ago
parent
commit
1852bdc17f
2 changed files with 10 additions and 12 deletions
  1. +9
    -9
      src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js
  2. +1
    -3
      src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss

+ 9
- 9
src/components/Modules/KilnOptimize/components/forecastRightChart/pointsChart.js View File

@@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2024-09-13 15:39:36
* @LastEditTime: 2024-09-18 10:35:44
* @LastEditTime: 2024-09-18 11:21:11
* @LastEditors: zhp
* @Description:
*/
@@ -122,13 +122,13 @@ export default function getOptions(data, times, range, yName,forecastList,color,
data: forecastList,
}
],
tooltip: {
trigger: "axis",
axisPointer: {
type: 'cross'
tooltip: {
trigger: "axis",
axisPointer: {
type: "shadow",
},
className: "xc-chart-tooltip",
// backgroundColor: ''
},
className: "xc-chart-tooltip",
// backgroundColor: ''
},
};
};
}

+ 1
- 3
src/components/Modules/KilnOptimize/forecastRightSide/index.module.scss View File

@@ -16,11 +16,9 @@
.leftBarRight {
width: 501px;
height: 966px;
// margin-left: 40px;

display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
position: relative;
z-index: 99;
}

Loading…
Cancel
Save