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","."]
docstr: Set the x values for the ticks. 
  
  ==============   =====================================================================
  **Arguments:**
  vals             A list of x values (in data/plot coordinates) at which to draw ticks.
  ==============   =====================================================================
docstr_tok: ["Set","the","x","values","for","the","ticks",".","==============","=====================================================================","*","*","Arguments",":","*","*","vals","A","list","of","x","values","(","in","data\/plot","coordinates",")","at","which","to","draw","ticks",".","==============","====================================================================="]
code: def setXVals(self, vals):
      """Set the x values for the ticks.
  
      ==============   =====================================================================
      **Arguments:**
      vals             A list of x values (in data/plot coordinates) at which to draw ticks.
      ==============   =====================================================================
      """
      self.xvals = vals
      self.rebuildTicks()
  
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 3 for calling the VTickGroup obj's underlying member method code with example usage: obj.setXVals(vals) without return types