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

[Bug] Turn off legend causes timer axis expanded to 1970-01-01 #1711

Closed
fuchen opened this issue Dec 6, 2023 · 0 comments
Closed

[Bug] Turn off legend causes timer axis expanded to 1970-01-01 #1711

fuchen opened this issue Dec 6, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@fuchen
Copy link

fuchen commented Dec 6, 2023

Version

1.7.2

Link to Minimal Reproduction

https://jsfiddle.net/chen1900/2z65nvyc/

Steps to Reproduce

Click on the legend label to turn off a series, note that the x axis expanded.

点击图例,关闭一条曲线,x 轴自动伸长到了 1970-1-1。

Current Behavior

Turn off a series, x axis is expanded.

关闭一条曲线,x 轴自动伸长到了 1970-1-1。

Expected Behavior

x-axis should remain original range.

x 轴长度区间不变

Environment

- OS:
- Browser: Edge/chrome
- Framework:

Any additional comments?

No response

@fuchen fuchen added the bug Something isn't working label Dec 6, 2023
@xile611 xile611 self-assigned this Dec 22, 2023
xile611 added a commit that referenced this issue Jan 25, 2024
fix: dont return min,max of empty data, fix #1711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants