- 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,
- },
