#8410 Color Legend : Add option to center legend around zero

This commit is contained in:
Magne Sjaastad
2022-01-05 13:29:56 +01:00
parent 1e17da2926
commit 13425ce0e9
2 changed files with 21 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ public:
MappingType mappingMode() { return m_mappingMode(); }
void setTickNumberFormat( RiaNumberFormat::NumberFormatType numberFormat );
void resetUserDefinedValues();
void setCenterLegendAroundZero( bool enable );
void disableAllTimeStepsRange( bool doDisable );
@@ -231,6 +232,7 @@ private:
caf::PdmField<caf::AppEnum<MappingType>> m_mappingMode;
caf::PdmField<caf::AppEnum<CategoryColorModeType>> m_categoryColorMode;
caf::PdmField<bool> m_resetUserDefinedValuesButton;
caf::PdmField<bool> m_centerLegendAroundZero;
caf::PdmPtrField<RimColorLegend*> m_colorLegend;
caf::PdmField<bool> m_selectColorLegendButton;