1
huangxiaoqiang
2025-04-25 c467a598f23fd81cf624e0abc5f012fb5c9c6ada
CodeManagement/BigScreenVue/src/components/echart/centerLeft1Chart/chart.vue
ÎļþÃû´Ó CodeManagement/BigScreenVue/src/components/echart/centerLeft/centerLeft3Chart/chart.vue ÐÞ¸Ä
@@ -2,15 +2,15 @@
  <div>
    <Echart
      :options="options"
      id="centreLeft3Chart"
      id="centreLeft1Chart"
      height="220px"
      width="260px"
      width="360px"
    ></Echart>
  </div>
</template>
<script>
import Echart from '@/common/echart'
import * as echarts from 'echarts';
export default {
  data () {
    return {
@@ -18,7 +18,7 @@
    };
  },
  components: {
    Echart,
    echarts,
  },
  props: {
    cdata: {
@@ -33,8 +33,19 @@
          color: [
            "#37a2da",
            "#32c5e9",
            "#ccc",
            "#9fe6b8",
            "#ffdb5c",
            "#ff9f7f",
            "#fb7293",
            "#e7bcf3",
            "#8378ea"
          ],
          legend:{
            textStyle:{
              color:"#ffffff",
              fontSize:18
            }
          },
          tooltip: {
            trigger: "item",
            formatter: "{a} <br/>{b} : {c} ({d}%)"
@@ -55,11 +66,11 @@
          },
          series: [
            {
              name: "货位状态",
              name: "通过率统计",
              type: "pie",
              radius: [10, 50],
              // roseType: "area",
              center: ["50%", "40%"],
              radius: [20, 60],
              roseType: "area",
              center: ["50%", "50%"],
              data: newData.seriesData
            }
          ]