ECharts 设置折线颜色只需要设置lineStyle的color即可,
设置小圆点颜色只需要设置itemStyle的颜色即可.
series: [{ name: "seriesName", type: "line", itemStyle: { normal: { color: "#2ec7c9", lineStyle: { color: "#2ec7c9" } } }, data: "seriesData" }]
原文地址:https://www.cnblogs.com/liAnran/p/10283589.html
时间: 2024-11-08 23:33:33