class_docstr: **Bases:** :class:`UIGraphicsItem <pyqtgraph.UIGraphicsItem>`
  
  Draws a set of tick marks which always occupy the same vertical range of the view,
  but have x coordinates relative to the data within the view.
class_docstr_tok: ["*","*","Bases",":","*","*",":","class",":","`","UIGraphicsItem","<","pyqtgraph.UIGraphicsItem",">","`","Draws","a","set","of","tick","marks","which","always","occupy","the","same","vertical","range","of","the","view",",","but","have","x","coordinates","relative","to","the","data","within","the","view","."]
code: def paint(self, p, *args):
      UIGraphicsItem.paint(self, p, *args)
  
      br = self.boundingRect()
      h = br.height()
      br.setY(br.y() + self.yrange[0] * h)
      br.setHeight((self.yrange[1] - self.yrange[0]) * h)
      p.translate(0, br.y())
      p.scale(1.0, br.height())
      p.setPen(self.pen)
      p.drawPath(self.path)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/VTickGroup.py
imports: from ..None import functions
  from ..Qt import QtGui, QtWidgets
  from .UIGraphicsItem import UIGraphicsItem
label_desc: Use image node_id 8 for calling the VTickGroup obj's underlying member method code with example usage: obj.paint(p) without return types