echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] 希望支持在option层级设置markline的需求

Open CL-yang opened this issue 3 years ago • 1 comments

What problem does this feature solve?

目前echarts的markline 都放在series内部, 希望能够支持不跟随series 放在option层级的markline

What does the proposed API look like?

option = { title: { text: 'Temperature Change in the Coming Week' }, tooltip: { trigger: 'axis' }, legend: {}, xAxis: { type: 'category', boundaryGap: false, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, markline: {...} yAxis: { type: 'value', axisLabel: { formatter: '{value} °C' } }, series: [...] };

CL-yang avatar Sep 19 '22 02:09 CL-yang

@CL-yang It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Feature] Hope to support the need to set markline at the option level

BODY

What problem does this feature solve?

At present, the marklines of echarts are placed inside the series, and I hope to support the marklines placed at the option level that do not follow the series

What does the proposed API look like?

option = { title: { text: 'Temperature Change in the Coming Week' }, tooltip: { trigger: 'axis' }, legend: {}, xAxis: { type: 'category', boundaryGap: false, data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, markline: {...} yAxis: { type: 'value', axisLabel: { formatter: '{value} °C' } }, series: [...] };

echarts-bot[bot] avatar Sep 19 '22 02:09 echarts-bot[bot]