Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to Implement Hover on QAreaSeries?
preddy last edited by
I want to Display Text whenever my cursor moves over the area represented on my graph.
How can I do that using " void QAreaSeries::hovered(const QPointF &point, bool state) "
Prepare the text in that function and store the point, then call update.
You will also have to re-implement the paintEvent method. Start by calling the base class implementation and then draw your text on top.