設置圖標樣式怎么沒有生效
toolbox: {
show: true,
feature: {
saveAsImage: {
show: true,
title: 'save',
iconStyle: {
color: '#ff3'
},
emphasis: {
iconStyle: {
color: '#0f0'
}
}
}
}
},
toolbox: {
show: true,
feature: {
saveAsImage: {
show: true,
title: 'save',
iconStyle: {
color: '#ff3'
},
emphasis: {
iconStyle: {
color: '#0f0'
}
}
}
}
},
2018-06-10
舉報
2018-07-13
首先保證有沒有引入echarts文件,然后將toolbox放在option里,最后調用setOption進行設置