Print Text over a pyqtgraph x axis. -- 2

Job ID: 31898595

Budget: ₹1,500 – ₹12,500 INR

I have a working python program which displays a chart , I want to print text on every incremental x axis,
in pyqt I am using Qpainter to draw chart.
According to documentation QtGui.QPainter.drawText() can take position, and string to be printed.
But somehow this function is not working with my program.

Attached image is the output of my program, "Red Color" strings is my requirement

Requirement is simple,
- Draw n number of text on every incremental x axis items.
- I just need any random text to be drawn over my given/implemented python code.
- Task is simple , and would take less than an hour for a programmer who have already worked on pyqt/pyqtgraph.