优化3d图表样式

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

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

Loading…
Cancel
Save