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:
Kyle Sunden 2020-07-03 17:02:58 -05:00
parent 677ef5132c
commit a4dbcfb1e1

View File

@ -221,6 +221,7 @@ class DateAxisItem(AxisItem):
(30, HMS_ZOOM_LEVEL),
(1, MS_ZOOM_LEVEL),
])
self.autoSIPrefix = False
def tickStrings(self, values, scale, spacing):
tickSpecs = self.zoomLevel.tickSpecs