legend: {
	show: true, // 是否显示图例
    type: 'scroll', // 可滚动翻页的图例。当图例数量较多时可以使用。
    orient:'horizontal', // 图例列表的布局朝向。
    left: '0%', // 图例组件离容器左侧的距离。
    top: '0%', // 图例组件离容器上侧的距离。
    itemWidth: 8, // 图例标记的图形宽度。
    itemHeight: 8, // 图例标记的图形高度。
    textStyle: { // 图例的公用文本样式。
      color: '#333333',
      fontSize: 12
    },
    icon: 'rect' // 图例项的 icon。
  },
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐