FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Specify time scale options in standard manner by benmccann · Pull Request #6097 · chartjs/Chart.js · GitHub

Specify time scale options in standard manner - #6097

Merged
simonbrunel merged 4 commits into
chartjs:masterfrom
benmccann:time-min
Apr 2, 2019
Merged

Specify time scale options in standard manner#6097
simonbrunel merged 4 commits into
chartjs:masterfrom
benmccann:time-min

Conversation

benmccann commented Feb 28, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

It's difficult to write code that interfaces with the scale min and max options in a standard manner because the time scale puts the options in a different place than all the other scales, so everything has to be special cased to detect the time scale. This change allows reading from either the standard options.ticks location or the options.time location which this PR deprecates

Comment thread src/scales/scale.time.js Outdated
kurkle previously approved these changes Mar 25, 2019
etimberg previously approved these changes Mar 25, 2019
nagix previously approved these changes Mar 26, 2019
Comment thread src/scales/scale.time.js Outdated
Comment thread src/scales/scale.time.js Outdated
benmccann dismissed stale reviews from nagix, etimberg, and kurkle via 244117f March 28, 2019 13:05
Comment thread src/scales/scale.time.js Outdated
benmccann requested a review from simonbrunel March 31, 2019 22:21
Comment thread src/scales/scale.time.js Outdated
benmccann requested review from etimberg and kurkle April 1, 2019 14:34
simonbrunel added this to the Version 2.9 milestone Apr 1, 2019

simonbrunel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good, thanks @benmccann

exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL