You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After testing, I found that the current default value seems to be fixed at 60 minutes, and customization is still not supported. The following is my test screenshot. Please point out any errors in use
After testing, I found that the current default value seems to be fixed at 60 minutes, and customization is still not supported.
I suppose this is under the 5.3.2 environment and it would not allow user to customize time interval. At this version user would have to specify minInterval to directly adjust it or change 'splitNumber' to indirectly adjust it. And the new interval in both cases is rounded to some fixed interval here:
The reason will be displayed to describe this comment to others. Learn more.
I think this PR requires a lot more test cases to test if it works as expected for different user given interval and the data. You can add a set of test cases under timeScale-formatter.html.
Another problem for this PR is, for monthly labels, the intervals are not the same. Some months have 30 days while others may have 31, 28 or 29 days. If the developer want to use monthly interval, setting the interval to be 1000 * 3600 * 24 * 30 won't help.
This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR. We are sorry for this but 2 years is a long time and the code base has been changed a lot. Thanks for your contribution anyway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size/MstaleInactive for a long time. Will be closed in 7 days.
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brief Information
This pull request is in the type of:
What does this PR do?
Allow user to use
intervalto specify the interval between ticks on time axis.Fixed issues
Details
Before: What was the problem?
User-specified
intervaldoes not work even afterminandmaxis speicified.After: How is it fixed in this PR?
User-specified
intervalis taken in and will overwrite defaultintervalif specified.Misc
Related test cases or examples to use the new APIs
axis-inerval.html
Others
Merging options
Other information