正在查看旧版本。 查看 当前版本.
与当前比较 查看页面历史
版本 1 下一个 »
如何修改线图线条颜色、图例图标颜色及图例文字颜色?
可以使用扩展属性实现
{"series": [{//线条颜色设置"lineStyle": {"normal": {"color": "black"}},//图例中图标颜色设置"color": "green"}, {"lineStyle": {"normal": {"color": "red"}},"color": "red"}],"legend": {"icon": "line",//图例对应文字颜色设置"textStyle": {"color": "green"}}}