困擾好久的問題終於解決了 oh yea!echarts
echarts legend文字配置多個顏色
legend: {
data: [
{
name:‘直接訪問’,
icon : ‘circle’,
textStyle: {
color: ‘red’
}
},
{
name:‘郵件營銷’,
icon : ‘rect’,
textStyle: {
color: ‘blue’
}
},
{
name:‘聯盟廣告’,
textStyle: {
color: ‘#ffbb32’
}
}]
---------------------
做者:雪拋
來源:CSDN
原文:https://blog.csdn.net/qq_37708668/article/details/89639794
版權聲明:本文爲博主原創文章,轉載請附上博文連接!.net