Scale axis display on high-DPI displays
ifdef Qt5 method