优化3d图表样式

main
jinna 3 years ago
parent 2eed4923ec
commit f7526758cf
  1. 8
      src/views/dashboard/home.vue

@ -166,7 +166,7 @@
</div>
<div class="center_bottom">
<div class="charts_box map-box">
<!-- <ShowMap :mapData="mapData" v-if="mapData && isMap"></ShowMap> -->
<!-- <ShowMap :mapData="mapData"></ShowMap> -->
<div id="chart_map" class="map_box"></div>
</div>
<div class="charts_box">
@ -352,9 +352,9 @@ export default {
},
created() {
this.getTime();
this.readExcelFile("http://" + location.host + "/excel/wuliu.xlsx");
},
mounted() {
this.readExcelFile("http://" + location.host + "/excel/wuliu.xlsx");
queryWeath().then((res) => {
this.temp = res.result.now.temp;
this.weather = res.result.now.text;
@ -836,7 +836,7 @@ export default {
beta: 0,
},
backgroundColor: null,
marginTop: -45,
marginTop: -10,
},
colors: ["#00bdff", "#52f4c1", "#00dbec"],
title: {
@ -852,7 +852,7 @@ export default {
pie: {
allowPointSelect: true,
cursor: "pointer",
depth: 35,
depth: 15,
dataLabels: {
enabled: true, //线tip
distance: "11%",

Loading…
Cancel
Save