例如柱状图:

 <ve-histogram :settings="chartSettings" :extend="chartExtend" :grid="grid" :data="item" ref="chart2"></ve-histogram>
  data() {
    this.chartExtend = {
      series: {
        color: "rgb(126, 203, 224)", //柱子背景颜色
        label: {
          show: true,
          position: "top",
          textStyle: {
            color: "rgb(126, 203, 224)"
          }
        }
      },
      xAxis: {
        axisLabel: {
          textStyle: {
            color: "rgb(126, 203, 224)" //x轴字体颜色
          }
        }
      },
      yAxis: {
        axisLabel: {
          textStyle: {
            color: "rgb(126, 203, 224)" //y轴字体颜色
          }
        }
      },
      legend: {
        textStyle: {
          color: "rgb(126, 203, 224)" //图例字体颜色
        }
      }
    };
    this.grid = {
      show: true,
      top: 50,
      left: 10,
      backgroundColor: "#041332", //图表背景颜色
      borderColor: "#000"
    };
    this.chartSettings = {
      labelMap: {
        c: "每箱iv值"
      }
    };

 

相关文章:

  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2021-07-07
  • 2021-09-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-09
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
  • 2021-07-17
  • 2021-08-27
  • 2021-05-07
相关资源
相似解决方案