最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Extending the chart line beyond its limits in ECharts when using the inside dataZoom - Stack Overflow

programmeradmin2浏览0评论

Please tell me how to make the chart line always extend beyond its limits to the left or right, even when it's null.

I highlighted the desired result in red on the screenshot, but it's most convenient to look at the example I prepared. If you hold down the right mouse button on the chart and move left/right, it will become clear what the problem is.

my example

I would be very grateful for any advice. Thank you in advance!

Please tell me how to make the chart line always extend beyond its limits to the left or right, even when it's null.

I highlighted the desired result in red on the screenshot, but it's most convenient to look at the example I prepared. If you hold down the right mouse button on the chart and move left/right, it will become clear what the problem is.

my example

I would be very grateful for any advice. Thank you in advance!

Share Improve this question asked Mar 19 at 13:59 VladVlad 721 silver badge4 bronze badges 2
  • are you looking for filterMode = "none" ? – Matthias Mertens Commented Mar 19 at 17:03
  • yes, its works! thank you! can you do this as an answer to the question so that I can mark it as correct? – Vlad Commented Mar 20 at 7:19
Add a comment  | 

1 Answer 1

Reset to default 1

This can be achieved with the filterMode property.

dataZoom: {
    ...,
    filterMode: "none"
}

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论