echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Set middle splitLine color on bar chart with negative value

Open lutian197 opened this issue 6 months ago • 2 comments

What problem does this feature solve?

Image xAxis.splitLine.lineStyle.color can set splitLine color except the middle one.

What does the proposed API look like?

splitLine.lineStyle.color: function

lutian197 avatar May 29 '25 06:05 lutian197

The zero line is called axisLine and color could be set with axisLine:{lineStyle:{color: 'red'}} axisLabel takes the same color by default, but can be changed - axisLabel:{color: '#333'} 📌 please close issue if problem solved.

helgasoft avatar May 30 '25 06:05 helgasoft

@helgasoft xAxis.axisLine:{lineStyle:{color: 'red'}} doesn't work. with echart 5.6.0 in vue2

lutian197 avatar Jun 09 '25 02:06 lutian197