Disable autoSIPrefix for DateAxisItem by default
When adding a label, it adds the offset for the epoch seconds, (1e09), which is not helpful for date axes
This commit is contained in:
parent
677ef5132c
commit
a4dbcfb1e1
@ -221,6 +221,7 @@ class DateAxisItem(AxisItem):
|
|||||||
(30, HMS_ZOOM_LEVEL),
|
(30, HMS_ZOOM_LEVEL),
|
||||||
(1, MS_ZOOM_LEVEL),
|
(1, MS_ZOOM_LEVEL),
|
||||||
])
|
])
|
||||||
|
self.autoSIPrefix = False
|
||||||
|
|
||||||
def tickStrings(self, values, scale, spacing):
|
def tickStrings(self, values, scale, spacing):
|
||||||
tickSpecs = self.zoomLevel.tickSpecs
|
tickSpecs = self.zoomLevel.tickSpecs
|
||||||
|
Loading…
Reference in New Issue
Block a user