Commit 90c8d485 authored by 徐来柯's avatar 徐来柯

update right items

parent 6303dc4e
......@@ -473,6 +473,7 @@ function getRight2() {
axisLabel: {
show: true,
inside: false,
fontSize: 14,
color: '#F5BD5F',
},
splitArea: {
......@@ -483,17 +484,21 @@ function getRight2() {
},
data: valueData
}
],
],
grid: {
top: 0,
left: 80,
bottom: 10,
right: 60,
top: 10,
right: 10,
bottom: 0,
left: 10,
containLabel: true
},
series: [
{
barWidth: 4,
showBackground: true,
backgroundStyle:{
color: '#0C2648'
},
type: 'bar',
itemStyle: {
color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
......@@ -519,7 +524,7 @@ function getRight2() {
success :function(res) {
let data = []
xData.forEach((item, i)=>{
data.push(res.data[i].Value)
data.push(res.data[i].Value ? res.data[i].Value : 0)
})
rightChart2.setOption({
yAxis: [
......
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