管道基础大数据平台系统开发-【前端】-新系統界面
王旭
2023-05-09 93c0e388bc3fe955c223e1b23a1f4257b1d60d11
src/components/chart/ServiceType.vue
@@ -115,7 +115,7 @@
      let option = {
        backgroundColor: "transparent",
        title: {
          text: "服务类型总数量",
          text: "用户访问总量",
          subtext: count,
          textStyle: {
            color: "#fff",
@@ -128,7 +128,7 @@
            fontWeight: 400,
            fontFamily: "YouSheBiaoTiHei",
          },
          x: "20%",
          x: "center",
          y: "40%",
        },
        // tooltip: {
@@ -139,10 +139,10 @@
        legend: {
          data: dataPie,
          icon: "vertical",
          right: "1%",
          top: "10%",
          orient: "vertical",
          itemGap: 7,
          left: "2%",
          top: "1%",
          orient: "horizontal",
          itemGap: 5,
          itemWidth: 12,
          itemHeight: 3,
@@ -166,6 +166,7 @@
          right: "1%", // 与容器右侧的距离
          top: "1%", // 与容器顶部的距离
          bottom: "1%", // 与容器底部的距离
          containLabel: true
        },
        series: [
          {
@@ -173,7 +174,7 @@
            type: "pie",
            clockWise: false, //顺时加载
            hoverAnimation: false, //鼠标移入变大
            center: ["30%", "50%"],
            center: ["50%", "51%"],
            radius: ["60%", "65%"],
            tooltip: {
              show: false,
@@ -190,7 +191,7 @@
            type: "pie",
            color: "#5F6D86",
            selectedMode: "single",
            center: ["30%", "50%"],
            center: ["50%", "51%"],
            radius: ["73%", "74%"],
            hoverAnimation: false,
            label: {