QChartView inherits from QGraphicsView and therefore you can access the QGraphicsScene instance using QGraphicsView::scene(). Once you have the scene pointer, you add your own graphics items to the scene in the correct locations.
QChartView inherits from QGraphicsView and therefore you can access the QGraphicsScene instance using QGraphicsView::scene(). Once you have the scene pointer, you add your own graphics items to the scene in the correct locations.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Mohsin (24th May 2021)
Bookmarks