图例位置:
右侧上方
chart.legend.position = "right";
垂直方向
chart.legend.valign = "top";
中间
chart.valign = "middle"
底部
chart.valign = "bottom"
顶部
chart.legend.position = "top";
右侧
chart.legend.contentAlign = "right";
左侧
chart.legend.contentAlign = "left";
中间
chart.legend.contentAlign = "center";