|
@@ -93,7 +93,7 @@
|
|
|
<div class="right-div">
|
|
|
<div class="row-div">近5日在线学生</div>
|
|
|
<div class="row-div">
|
|
|
- <v-charts :options="lastNdayData"></v-charts>
|
|
|
+ <v-charts style="width:500px;" :options="lastNdayData"></v-charts>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -104,7 +104,6 @@
|
|
|
import { REPORTS_API } from "@/constants/constants.js";
|
|
|
import { mapState } from "vuex";
|
|
|
import ECharts from "vue-echarts/components/ECharts";
|
|
|
-import "echarts/lib/chart/bar";
|
|
|
export default {
|
|
|
components: {
|
|
|
"v-charts": ECharts
|
|
@@ -117,6 +116,10 @@ export default {
|
|
|
trigger: "axis"
|
|
|
},
|
|
|
xAxis: {
|
|
|
+ axisLabel: {
|
|
|
+ interval: 0,
|
|
|
+ rotate: 20
|
|
|
+ },
|
|
|
type: "category",
|
|
|
data: []
|
|
|
},
|