最近使用到的echarts icon圖標的樣式,以後遇到了新的也會不斷更新。
Echarts icon 默認樣式爲:
Echarts icon 實心圓加橫線的樣式:
寫法:
series:
{
symbolSize: 0, //這個參數表示在圖像上顯示的原點大小,爲0則不顯示
symbol: 'circle',
},
icon其他類型有: circle, rect ,roundRect,triangle,diamond,pin,arrow,none
寫法:
legend: {
icon: "circle",
//修改樣式
x: 'center',
bottom:'15',//距下邊距
},