Add support for placing legend at several positions

Show legends on top of preview plot
This commit is contained in:
Magne Sjaastad
2023-11-23 17:13:47 +01:00
parent 243b07c42f
commit 4b0f2b362e
10 changed files with 35 additions and 43 deletions

View File

@@ -117,11 +117,10 @@ public:
virtual bool plotTitleEnabled() const = 0;
virtual void setPlotTitleFontSize( int titleFontSize ) = 0;
virtual void setLegendFontSize( int fontSize ) = 0;
virtual void setInternalLegendVisible( bool visible ) = 0;
virtual void insertLegend( RiuPlotWidget::Legend ) = 0;
virtual void clearLegend() = 0;
virtual void updateLegend() = 0;
virtual void setLegendFontSize( int fontSize ) = 0;
virtual void insertLegend( RiuPlotWidget::Legend ) = 0;
virtual void clearLegend() = 0;
virtual void updateLegend() = 0;
virtual void detachItems( RiuPlotWidget::PlotItemType plotItemType ) = 0;