Commit 129f4267 authored by 曹雷's avatar 曹雷

feat: 优化样式

parent ce205e92
......@@ -279,7 +279,8 @@
}
},
xAxis: {
type: 'value'
type: 'value',
minInterval: 1
},
series: [{
data: [120, 200, 150, 80, 70, 110, 130],
......@@ -392,15 +393,6 @@
name: element,
type: 'bar',
stack: 'total',
label: {
show: true,
formatter: function(params) {
if (params.value > 0) {
return params.value
}
return '';
}
},
emphasis: {
focus: 'series'
},
......@@ -428,7 +420,8 @@
containLabel: true
},
xAxis: {
type: 'value'
type: 'value',
minInterval: 1
},
yAxis: {
type: 'category',
......@@ -486,6 +479,7 @@
}
}
},
legend: {},
xAxis: {
type: 'category',
boundaryGap: false,
......@@ -505,6 +499,7 @@
},
yAxis: {
type: 'value',
minInterval: 1
// axisLine: {
// // show: false,//不显示坐标轴线
// lineStyle: {
......@@ -610,7 +605,8 @@
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
type: 'value',
minInterval: 1
},
series: [{
data: [150, 230, 224, 218, 135, 147, 260],
......
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