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

Minimum interval size #3033

Closed
1 task done
sroze opened this issue Nov 21, 2020 · 1 comment
Closed
1 task done

Minimum interval size #3033

sroze opened this issue Nov 21, 2020 · 1 comment
Assignees

Comments

@sroze
Copy link

sroze commented Nov 21, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://g2.antv.vision/en/examples/bar/basic#time-bar

Steps to reproduce

At the moment, when using intervals (like in this example: https://g2.antv.vision/en/examples/bar/basic#time-bar), if the time window is relatively large and the intervals fairly short, they are not displayed on the chart at all.

To see this problem in action, change the first line of the example to be the following and you won't see the task0, task1 & task7 intervals:
{ task: 'task0', startTime: '2018-04-10 01:17:12', endTime: '2018-04-10 01:19:10', status: 0 },

We should probably have the ability to configure the minimum visible width of an interval.

Environment Info
g2 4.0.15
System OSX Big Sur
Browser Chrome 86.0.4240.198 (Official Build) (x86_64)
@hustcc hustcc added the adjust label Jan 29, 2021
@hustcc hustcc self-assigned this Jan 29, 2021
@hustcc
Copy link
Member

hustcc commented Jun 22, 2022

Duplicate: #3138

@hustcc hustcc closed this as completed Jun 22, 2022
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

2 participants