<ve-histogram
            :data="chartData"
            :settings="chartSettings"
            :extend="chartExtend"
        ></ve-histogram>
this.chartSettings = {
      labelMap: {
        BankReceiveAmount: "总收费",
        ActualAmout: "实收担保费",
        InvoiceAmount: "开票金额",
        Deposit: "收取保证金"
      },
      yAxisName: ["金额(元)"]
    };
    this.chartExtend = {
      title: { text: this.currentYear + "年数据统计", left: "center" },
      legend: {
        show: true,
        bottom: "bottom"
      },
      color: ["#4ad2ff", "#00b436", "#fdcc74", "#4f91f1"],
      tooltip: {
        trigger: "axis",
        axisPointer: {
          type: "shadow",//type:"cross"
          crossStyle: {
            color: "#999"
          }
        }
      }
    };

v-charts 柱状图改变颜色

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-01-07
  • 2021-05-26
  • 2022-12-23
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2022-03-09
  • 2021-11-19
  • 2021-10-19
  • 2022-12-23
相关资源
相似解决方案