legend: {
data:['交易金額','交易筆數'],
icon: "roundRect", // 這個字段控制形狀 類型包括: circle,rect ,roundRect,triangle,diamond,pin,arrow,none
itemWidth: 10, // 設置寬度
itemHeight: 10, // 設置高度
itemGap: 40 // 設置間距
textStyle: { //字體大小
fontSize: 12
},
},
示例(roundRect):

legend: {
data:['交易金額','交易筆數'],
icon: "roundRect", // 這個字段控制形狀 類型包括: circle,rect ,roundRect,triangle,diamond,pin,arrow,none
itemWidth: 10, // 設置寬度
itemHeight: 10, // 設置高度
itemGap: 40 // 設置間距
textStyle: { //字體大小
fontSize: 12
},
},
示例(roundRect):

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。