mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 09:00:14 -06:00
Show RFT tornado plot labels at left side of the plot area
This commit is contained in:
1 parent
96370a6077
commit
186c4795f9
3 files changed
+50
-6
No files matched your search
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
|
||||
class QwtPlot;
|
||||
@@ -50,6 +51,10 @@ public:
|
||||
void addBarChartToPlot( QwtPlot* plot, Qt::Orientation orientation, int maxBarCount = -1 );
|
||||
void setLabelFontSize( int labelPointSize );
|
||||
|
||||
// For horizontal bar charts: left-align the bar texts at the given value axis position instead of
|
||||
// placing them next to the bars
|
||||
void setBarTextAnchor( double valueAxisPosition );
|
||||
|
||||
QString plotContentAsText() const;
|
||||
|
||||
private:
|
||||
@@ -91,6 +96,7 @@ private:
|
||||
bool m_isSortingByMaxValueInGroups;
|
||||
int m_labelPointSize;
|
||||
|
||||
bool m_useBarColor = false;
|
||||
QColor m_barColor;
|
||||
std::optional<double> m_barTextAnchor;
|
||||
bool m_useBarColor = false;
|
||||
QColor m_barColor;
|
||||
};
|
||||
Reference in new issue
Block a user