Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在包含折线和面积图的图表中使用Slider,会丢失最后一个数据 #6478

Open
Darkphooo opened this issue Sep 26, 2024 · 0 comments

Comments

@Darkphooo
Copy link

问题描述

在包含折线和面积图的图表中使用Slider,且x轴为时间格式的情况下,Slider最右侧不是x轴上最后一个数据,是倒数第二个

重现链接

https://codesandbox.io/p/sandbox/antv-g2-5-0-template-z2gsmn

重现步骤

  1. 选择官网示例中的区间面积图
  2. 在折线上增加Slider
  3. 出现问题

预期行为

期望Slider可以正确选择到最后一个数据,或者可以有其它不用面积图渲染一块区域的方法

平台

  • 操作系统: Windows
  • 网页浏览器: Google Chrome

屏幕截图或视频(可选)

image

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant