class_docstr: **Bases:** :class:`AxisItem <pyqtgraph.AxisItem>`
  
  An AxisItem that displays dates from unix timestamps.
  
  The display format is adjusted automatically depending on the current time
  density (seconds/point) on the axis. For more details on changing this
  behaviour, see :func:`setZoomLevelForDensity() <pyqtgraph.DateAxisItem.setZoomLevelForDensity>`.
  
  Can be added to an existing plot e.g. via 
  :func:`setAxisItems({'bottom':axis}) <pyqtgraph.PlotItem.setAxisItems>`.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","AxisItem","<","pyqtgraph.AxisItem",">","`","An","AxisItem","that","displays","dates","from","unix","timestamps",".","The","display","format","is","adjusted","automatically","depending","on","the","current","time","density","(","seconds\/point",")","on","the","axis",".","For","more","details","on","changing","this","behaviour",",","see",":","func",":","`","setZoomLevelForDensity","(",")","<","pyqtgraph.DateAxisItem.setZoomLevelForDensity",">","`",".","Can","be","added","to","an","existing","plot","e.g",".","via",":","func",":","`","setAxisItems","(","{","'bottom","'",":","axis","}",")","<","pyqtgraph.PlotItem.setAxisItems",">","`","."]
docstr: Link this axis to a ViewBox, causing its displayed range to match the visible range of the view.
docstr_tok: ["Link","this","axis","to","a","ViewBox",",","causing","its","displayed","range","to","match","the","visible","range","of","the","view","."]
code: def linkToView(self, view):
      """Link this axis to a ViewBox, causing its displayed range to match the visible range of the view."""
      self._linkToView_internal(view)  # calls original linkToView code
  
      # Set default limits
      _min = MIN_REGULAR_TIMESTAMP
      _max = MAX_REGULAR_TIMESTAMP
  
      if self.orientation in ["right", "left"]:
          view.setLimits(yMin=_min, yMax=_max)
      else:
          view.setLimits(xMin=_min, xMax=_max)
  
imports: import sys
  import time
  from collections import OrderedDict
  from datetime import datetime, timedelta, timezone
  import numpy
  from .AxisItem import AxisItem
label_desc: Use image node_id 5 for calling the DateAxisItem obj's underlying member method code with example usage: obj.linkToView(view) without return types