zmc
2023-12-01 28cbf4f043cfc0a4621cc8683ba66bcbdd350eca
src/utils/chartFunction/exceptionOption.js
@@ -8,7 +8,7 @@
   * @param:异常类型
   * @returns:
   */
  setExceptionChartOption(
  setExceptionChartOption({
    xData,
    yData,
    exceptionBeginTime,
@@ -19,6 +19,7 @@
    areaObj,
    lineColor,
    exceptionType
  }
  ) {
    switch (exceptionType) {
      case '0':
@@ -303,7 +304,7 @@
          name: '颗粒物浓度',
          type: 'line',
          data: yData.map((item) => {
            if (item <= 0.01) {
            if (item <= 0.02) {
              return {
                value: item,
                itemStyle: {
@@ -333,9 +334,8 @@
              {
                name: '数据超低',
                type: 'average',
                yAxis: 0.01,
                yAxis: 0.02,
                lineStyle: {
                  // color: '#ff0000'
                  color: 'red'
                }
              }