新增页面
This commit is contained in:
@ -101,7 +101,6 @@ function chartFn() {
|
||||
|
||||
// 安全获取标签数据
|
||||
const labels = props.data.list && Array.isArray(props.data.list) ? props.data.list.map(v => v.label) : [];
|
||||
console.log(labels);
|
||||
|
||||
const option = {
|
||||
grid: {
|
||||
@ -198,7 +197,7 @@ function chartFn() {
|
||||
symbolSize: [barWidth - 4, 10],
|
||||
itemStyle: {
|
||||
normal: {
|
||||
color: colorArr[2]
|
||||
color: props.data.topColor || colorArr[2]
|
||||
},
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
@ -41,8 +41,8 @@ function chartFn() {
|
||||
grid: {
|
||||
top: "8%",
|
||||
right: "2%",
|
||||
left: "10%",
|
||||
bottom: "12%",
|
||||
left: "2%",
|
||||
bottom: "8%",
|
||||
containLabel:true
|
||||
},
|
||||
tooltip: {
|
||||
|
||||
Reference in New Issue
Block a user