legend: {
right: "1%",
top: 0,
// icon: "rect",
// itemWidth: 12,
itemHeight: 12,
itemGap: 20,
textStyle: {
fontSize: 10,
fontFamily: "Microsoft YaHei",
fontWeight: "normal",
color: "#fff",
},
show: true,
top: "4%", //图例上下位置
// left: "center", //图例左右位置
itemGap: 20,
type: "scroll", //分页类型---重点
orient: "horizontal", //横向
// orient: "vertical", // 图例排列方式默认横着vertical为竖着
pageIconColor: "#ff781f", //翻页箭头颜色
pageTextStyle: {
color: "#999", //翻页数字颜色
}, //翻页数字设置
pageIconSize: 13,
},
echarts图例过长翻页
最新推荐文章于 2024-04-28 13:46:58 发布