Commit 61487bd8 authored by 黄媛媛's avatar 黄媛媛

update

parent 79fbfa50
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
}, },
mounted() { mounted() {
this.GetSexOrderList() // this.GetSexOrderList()
this.initTimeChart(); this.initTimeChart();
}, },
...@@ -291,14 +291,19 @@ export default { ...@@ -291,14 +291,19 @@ export default {
// let myChart = this.$echarts.init(this.$refs.timeChart); // let myChart = this.$echarts.init(this.$refs.timeChart);
var myChart = this.$echarts.init(document.getElementById('timeChart')); var myChart = this.$echarts.init(document.getElementById('timeChart'));
console.log("myChart",myChart) console.log("myChart",myChart)
let option={ var option={
xAxis: { xAxis: {
// show : false, axisTick: {
show: false
},
axisLine: {
show: false
},
type: 'category', type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
}, },
yAxis: { yAxis: {
// show : false, show : false,
type: 'value' type: 'value'
}, },
series: [{ series: [{
...@@ -307,7 +312,11 @@ export default { ...@@ -307,7 +312,11 @@ export default {
showBackground: true, showBackground: true,
backgroundStyle: { backgroundStyle: {
color: 'rgba(220, 220, 220, 0.8)' color: 'rgba(220, 220, 220, 0.8)'
},
itemStyle: {
color: '#0D2481'
} }
}] }]
}; };
console.log("option",option) console.log("option",option)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment