legend : [ {
data : [ '名字' ],
orient : 'horizontal', //设置水平展示
bottom : 'bottom', //设置底部展示
itemHeight : 20, //legend图形大小
x : '200px', //自定义位置
y : '280px',
textStyle : {
fontSize : 14 //字体大小
}
}, {
data : [ '名字' ],
orient : 'horizontal',
bottom : 'bottom',
itemHeight : 20,
x : '500px',
y : '280px',
textStyle : {
fontSize : 14
}
} ],
echarts图表设置legend样式
最新推荐文章于 2024-09-02 11:16:50 发布