設置圖例圖標形狀

legend: {

    data: ["總數", "已解決", "未解決"],

    icon: "circle",   //  這個字段控制形狀

    itemWidth: 10,  // 設置寬度

    itemHeight: 10, // 設置高度

    itemGap: 40 // 設置間距

}

 icon 值包括 circle,rect ,roundRect,triangle,diamond,pin,arrow,none

circle,pin  圓形

rect  矩形 

roundRect  圓矩形

triangle  三角形

diamond  菱形

arrow  箭頭  

none  無

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章