25 mCanvas->scene()->addItem(
this );
virtual void paint(QPainter *painter)=0
Paints the item.
~QgsPlotCanvasItem() override
QgsPlotCanvas * mCanvas
Associated canvas.
QgsPlotCanvasItem(QgsPlotCanvas *canvas)
Constructor for QgsPlotCanvasItem for the specified canvas.
Plot canvas is a class for displaying interactive 2d charts and plots.