mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4157 Grid Cross Plot: Make categorisation legend more like ensemble legend
This commit is contained in:
@@ -40,15 +40,14 @@ class RimGridCrossPlotCurve : public RimPlotCurve
|
||||
public:
|
||||
RimGridCrossPlotCurve();
|
||||
~RimGridCrossPlotCurve() override = default;
|
||||
void setCategoryInformation(int curveSetIndex, int categoryIndex, int categoryCount);
|
||||
void setUseContrastColors(bool useContrastColors);
|
||||
void setCategoryInformation(int curveSetIndex, int categoryIndex);
|
||||
void setSamples(const std::vector<double>& xValues, const std::vector<double>& yValues);
|
||||
void updateCurveAppearance() override;
|
||||
int categoryIndex() const;
|
||||
|
||||
protected:
|
||||
|
||||
void determineColorAndSymbol();
|
||||
void determineSymbol();
|
||||
void updateZoomInParentPlot() override;
|
||||
void updateLegendsInPlot() override;
|
||||
QString createCurveAutoName() override;
|
||||
@@ -56,9 +55,7 @@ protected:
|
||||
void defineUiOrdering(QString uiConfigName, caf::PdmUiOrdering& uiOrdering) override;
|
||||
|
||||
private:
|
||||
int m_curveSetIndex;
|
||||
int m_categoryIndex;
|
||||
int m_categoryCount;
|
||||
bool m_useContrastColors;
|
||||
int m_curveSetIndex;
|
||||
int m_categoryIndex;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user