Deltares / imod-qgis

🗺️🧭 QGIS plugin for iMOD
GNU General Public License v2.0
7 stars 1 forks source link

Adjusting X-Axis on datetime axes requires setting time in seconds #80

Open Huite opened 4 months ago

Huite commented 4 months ago

I highly doubt there's an easy way around this, since QtDateTimes are just seconds since 1970s IIRC:

image

Might be worth checking newer versions of pyqtgraph or even opening an issue or PR!

Huite commented 4 months ago

An alternative idea: because we are specifically dealing with a Time Series plot, we could just add our own buttons which use two calendar widgets to set a zoom window instead.