-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Date axis item #1154
Date axis item #1154
Commits on Mar 15, 2017
-
Configuration menu - View commit details
-
Copy full SHA for da8c53d - Browse repository at this point
Copy the full SHA da8c53dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b21dfc2 - Browse repository at this point
Copy the full SHA b21dfc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3816f4d - Browse repository at this point
Copy the full SHA 3816f4dView commit details -
Add ms precision, auto skipping
Auto skipping allows a zoom level to skip ticks automatically if the maximum number of ticks/pt is exceeded
Configuration menu - View commit details
-
Copy full SHA for d627e39 - Browse repository at this point
Copy the full SHA d627e39View commit details
Commits on Apr 7, 2020
-
Lev Maximov committed
Apr 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 83f53de - Browse repository at this point
Copy the full SHA 83f53deView commit details -
workaround for negative argument to utcfromtimestamp on windows
Lev Maximov committedApr 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 606cae6 - Browse repository at this point
Copy the full SHA 606cae6View commit details -
Lev Maximov committed
Apr 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 41f9e4f - Browse repository at this point
Copy the full SHA 41f9e4fView commit details -
Lev Maximov committed
Apr 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 4b3199c - Browse repository at this point
Copy the full SHA 4b3199cView commit details
Commits on Apr 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4c2b865 - Browse repository at this point
Copy the full SHA 4c2b865View commit details -
Merge pull request #1 from 2xB/2xb-date-axis-item-patch
Use new DateAxisItem in Plot Customization example
Configuration menu - View commit details
-
Copy full SHA for 852f369 - Browse repository at this point
Copy the full SHA 852f369View commit details -
Lev Maximov committed
Apr 8, 2020 Configuration menu - View commit details
-
Copy full SHA for 3ac98c2 - Browse repository at this point
Copy the full SHA 3ac98c2View commit details -
Lev Maximov committed
Apr 8, 2020 Configuration menu - View commit details
-
Copy full SHA for 61222db - Browse repository at this point
Copy the full SHA 61222dbView commit details -
modified description of customPlot example
Lev Maximov committedApr 8, 2020 Configuration menu - View commit details
-
Copy full SHA for c856f2c - Browse repository at this point
Copy the full SHA c856f2cView commit details
Commits on Apr 9, 2020
-
added descriptions to the new examples, reformatted their code, inclu…
…ded the first one into utils.py
Lev Maximov committedApr 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 64120e8 - Browse repository at this point
Copy the full SHA 64120e8View commit details -
Lev Maximov committed
Apr 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 55d1749 - Browse repository at this point
Copy the full SHA 55d1749View commit details -
Refactored code for setting axis items into new function
Replaces "DateAxisItem.attachToPlotItem"
Configuration menu - View commit details
-
Copy full SHA for ab756bd - Browse repository at this point
Copy the full SHA ab756bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2e8d1 - Browse repository at this point
Copy the full SHA 9e2e8d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f9b4f7 - Browse repository at this point
Copy the full SHA 2f9b4f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a35c6b6 - Browse repository at this point
Copy the full SHA a35c6b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a170f5 - Browse repository at this point
Copy the full SHA 8a170f5View commit details
Commits on Apr 10, 2020
-
Merge pull request #2 from 2xB/2xb-date-axis-item-patch2
Refactoring and slightly more documentation
Configuration menu - View commit details
-
Copy full SHA for e86bca7 - Browse repository at this point
Copy the full SHA e86bca7View commit details -
Lev Maximov committed
Apr 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 75978ef - Browse repository at this point
Copy the full SHA 75978efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3958dc9 - Browse repository at this point
Copy the full SHA 3958dc9View commit details -
Lev Maximov committed
Apr 10, 2020 Configuration menu - View commit details
-
Copy full SHA for 876b5a7 - Browse repository at this point
Copy the full SHA 876b5a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b71cc0c - Browse repository at this point
Copy the full SHA b71cc0cView commit details
Commits on Apr 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a02af8e - Browse repository at this point
Copy the full SHA a02af8eView commit details -
Merge pull request #4 from 2xB/2xb-date-axis-item-patch3
Revisit last bug fix
Configuration menu - View commit details
-
Copy full SHA for 625f1f4 - Browse repository at this point
Copy the full SHA 625f1f4View commit details
Commits on Apr 12, 2020
-
support for dates upto -1e13..1e13
Lev Maximov committedApr 12, 2020 Configuration menu - View commit details
-
Copy full SHA for 24bcacd - Browse repository at this point
Copy the full SHA 24bcacdView commit details
Commits on Apr 13, 2020
-
Automatically limit DateAxisItem to a range from -1e12 to 1e12 years
Very large years (|y|>1e13) cause infinite loop, and since nobody needs time 100 times larger than the age of the universe anyways, this constrains it to 1e12. Following suggestion by @axil: pyqtgraph#1154 (comment)
Configuration menu - View commit details
-
Copy full SHA for b58dfc2 - Browse repository at this point
Copy the full SHA b58dfc2View commit details -
Also catch ValueErrors occuring on Linux before OverfloeErrors
While zooming out, before hitting OverflowErrors, utctimestamp produces ValueErrors (at least on my Linux machine), so they are also catched.
Configuration menu - View commit details
-
Copy full SHA for c5facf6 - Browse repository at this point
Copy the full SHA c5facf6View commit details -
Fix: Timestamp 0 corresponds to year 1970
For large years, x axis labels jump by 1970 years if it is not accounted for timestamp 0 to be equal to year 1970.
Configuration menu - View commit details
-
Copy full SHA for 9259e12 - Browse repository at this point
Copy the full SHA 9259e12View commit details -
Fix: When zooming into extreme dates, OSError occurs
This commit catches the OSError like the other observed errors
Configuration menu - View commit details
-
Copy full SHA for 4703027 - Browse repository at this point
Copy the full SHA 4703027View commit details -
Disable stepping below years for dates outside *_REGULAR_TIMESTAMP
2 reasons: First: At least on my Linux machine, zooming into those dates creates infinite loops. Second: Nobody needs sub-year-precision for those extreme years anyways.
Configuration menu - View commit details
-
Copy full SHA for db3fffd - Browse repository at this point
Copy the full SHA db3fffdView commit details -
Merge pull request #5 from 2xB/2xb-date-axis-item-patch4
DateTimeAxis: Hardcoded limit, catch ValueErrors under Linux, timestamp offset fix
Configuration menu - View commit details
-
Copy full SHA for 67a5624 - Browse repository at this point
Copy the full SHA 67a5624View commit details -
Adapt zoom level sizes based on current font size and screen resolution
This is somewhat experimental. With this commit, no longer 60 px are assumed as width for all zoom levels, but the current font and display resolution are considered to calculate the width of ticks in each zoom level. See the new function `updateZoomLevels` for details. Before calling this function, overridden functions `paint` and `generateDrawSpecs` provide information over the current display and font via `self.fontScaleFactor` and `self.fontMetrics`.
Configuration menu - View commit details
-
Copy full SHA for a4f8216 - Browse repository at this point
Copy the full SHA a4f8216View commit details
Commits on Apr 19, 2020
-
Meaningful error meassage when adding axis to multiple PlotItems
As @axil noted in the DateAxisItem PR, currently users get a segmentation fault when one tries to add an axis to multiple PlotItems. This commit adds a meaningful RuntimeError message for that case.
Configuration menu - View commit details
-
Copy full SHA for 58e32a5 - Browse repository at this point
Copy the full SHA 58e32a5View commit details
Commits on Apr 20, 2020
-
Merge pull request #7 from 2xB/2xb-date-axis-item5-meaningfulerror
Meaningful error meassage when adding axis to multiple PlotItems
Configuration menu - View commit details
-
Copy full SHA for 3e14971 - Browse repository at this point
Copy the full SHA 3e14971View commit details
Commits on Apr 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e29b500 - Browse repository at this point
Copy the full SHA e29b500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44dc901 - Browse repository at this point
Copy the full SHA 44dc901View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca69a5e - Browse repository at this point
Copy the full SHA ca69a5eView commit details -
Merge pull request #6 from 2xB/2xb-date-axis-item-adaptive-zoom
Adapt zoom level sizes based on current font size and screen resolution
Configuration menu - View commit details
-
Copy full SHA for 021aa11 - Browse repository at this point
Copy the full SHA 021aa11View commit details -
updated the dateaxisitem example
Lev Maximov committedApr 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 0f6e9ef - Browse repository at this point
Copy the full SHA 0f6e9efView commit details -
Fix: Get screen resolution in a way that also works for Qt 4
This is both a simplification in code and an improvement in backwards compatibility with Qt 4.
Configuration menu - View commit details
-
Copy full SHA for 15b8c7b - Browse repository at this point
Copy the full SHA 15b8c7bView commit details -
Merge pull request #8 from 2xB/2xb-date-axis-item6-backwards-compatib…
…ility Fix: Get screen resolution in a way that also works for Qt 4
Configuration menu - View commit details
-
Copy full SHA for 3d1af34 - Browse repository at this point
Copy the full SHA 3d1af34View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa6d0cc - Browse repository at this point
Copy the full SHA aa6d0ccView commit details
Commits on Apr 22, 2020
-
Lev Maximov committed
Apr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 577cc5f - Browse repository at this point
Copy the full SHA 577cc5fView commit details -
Merge pull request #9 from 2xB/2xb-date-axis-item7-zoomin-fix
DateAxisItem Fix: Also resolve time below 0.5 seconds
Configuration menu - View commit details
-
Copy full SHA for a494e9c - Browse repository at this point
Copy the full SHA a494e9cView commit details -
DateTimeAxis Fix: For years < 1 and > 9999, stepping broke
Stepping was off by 1970 years for years < 1 and > 9999, resulting in a gap in ticks visible when zooming out. Fixed by subtracting the usual 1970 years.
Configuration menu - View commit details
-
Copy full SHA for 7c37c02 - Browse repository at this point
Copy the full SHA 7c37c02View commit details -
DateTimeAxis Fix: Zooming out too far causes infinite loop
Fixed by setting default limits to +/- 1e10 years. Should still be enough.
Configuration menu - View commit details
-
Copy full SHA for b600961 - Browse repository at this point
Copy the full SHA b600961View commit details -
improved second dateaxisitem example
Lev Maximov committedApr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 547cce8 - Browse repository at this point
Copy the full SHA 547cce8View commit details -
Merge pull request #10 from 2xB/2xb-date-axis-item9-fixlargeyears
DateTimeAxis Fix: For years slightly > 9999, stepping broke
Configuration menu - View commit details
-
Copy full SHA for 98c0ed9 - Browse repository at this point
Copy the full SHA 98c0ed9View commit details -
Lev Maximov committed
Apr 22, 2020 Configuration menu - View commit details
-
Copy full SHA for 7c817a0 - Browse repository at this point
Copy the full SHA 7c817a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e11b8e2 - Browse repository at this point
Copy the full SHA e11b8e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 644d5e4 - Browse repository at this point
Copy the full SHA 644d5e4View commit details
Commits on Apr 23, 2020
-
Merge pull request #11 from 2xB/2xb-date-axis-item10-multiplefixes
OrderedDict, correct y axis spacing
Configuration menu - View commit details
-
Copy full SHA for 1c191ef - Browse repository at this point
Copy the full SHA 1c191efView commit details
Commits on Apr 24, 2020
-
Lev Maximov committed
Apr 24, 2020 Configuration menu - View commit details
-
Copy full SHA for ad598fd - Browse repository at this point
Copy the full SHA ad598fdView commit details
Commits on Apr 27, 2020
-
Lev Maximov committed
Apr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for d08850f - Browse repository at this point
Copy the full SHA d08850fView commit details -
Lev Maximov committed
Apr 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 8facdc4 - Browse repository at this point
Copy the full SHA 8facdc4View commit details