echarts 设置legend样式


设置legend样式

legend: {
    x: 'center',
    data: ['班车', '包车'],
    icon: "circle", // 这个字段控制形状 类型包括 circle,rect ,roundRect,triangle,diamond,pin,arrow,none
    itemWidth: 10, // 设置宽度
    itemHeight: 10, // 设置高度
    itemGap: 32 // 设置间距
},


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM