.. vale off :class:`LegendSettings` ======================= .. py:class:: ansys.mechanical.stubs.v241.Ansys.Mechanical.Graphics.Tools.LegendSettings Bases: :py:obj:`object` Represents a LegendSettings object. This object holds properties of the Standalone LegendSettings. .. !! processed by numpydoc !! .. py:currentmodule:: LegendSettings Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~GetLowerBound` - Gets lower bound value of the specified band. * - :py:attr:`~SetLowerBound` - Sets lower bound value of the specified band. * - :py:attr:`~GetUpperBound` - Gets upper bound value of the specified band. * - :py:attr:`~SetUpperBound` - Sets upper bound value of the specified band. * - :py:attr:`~GetBandColor` - Gets the color of the specified band. * - :py:attr:`~SetBandColor` - Sets the color of the specified band. * - :py:attr:`~GetBandColorAuto` - Gets whether the specified band is set to Automatic or not. * - :py:attr:`~SetBandColorAuto` - Sets the specified band to Automatic. * - :py:attr:`~GetUpperBandValueAuto` - Gets whether the specified upper band value is set to Automatic or not. * - :py:attr:`~GetLowerBandValueAuto` - Gets whether the lower specified band value is set to Automatic or not. * - :py:attr:`~ResetColors` - Resets all colors to default values. * - :py:attr:`~Reset` - Resets all legend customizations into default values. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~NumberOfBands` - Number of bands on the legend (min:3, max:30). Bands are added/removed from the top of the legend. * - :py:attr:`~AllScientificNotation` - Whether the result values are displayed in scientific notation. * - :py:attr:`~Digits` - Number of significant digits (min:2 , max:8). * - :py:attr:`~ColorScheme` - Color Scheme for the legend. * - :py:attr:`~SemiTransparency` - Whether the legend is semi-transparent. * - :py:attr:`~LogarithmicScale` - Whether the result values are distributed in a Logarithmic scale. * - :py:attr:`~HighFidelity` - Whether to replot and improve the synchronization of the result values. * - :py:attr:`~Unit` - The unit for the legend. Property detail --------------- .. py:property:: NumberOfBands :no-index: :type: Optional[System.Int32] Number of bands on the legend (min:3, max:30). Bands are added/removed from the top of the legend. .. !! processed by numpydoc !! .. py:property:: AllScientificNotation :no-index: :type: Optional[System.Boolean] Whether the result values are displayed in scientific notation. .. !! processed by numpydoc !! .. py:property:: Digits :no-index: :type: Optional[System.Int32] Number of significant digits (min:2 , max:8). .. !! processed by numpydoc !! .. py:property:: ColorScheme :no-index: :type: Optional[Ansys.Mechanical.DataModel.Enums.LegendColorSchemeType] Color Scheme for the legend. .. !! processed by numpydoc !! .. py:property:: SemiTransparency :no-index: :type: Optional[System.Boolean] Whether the legend is semi-transparent. .. !! processed by numpydoc !! .. py:property:: LogarithmicScale :no-index: :type: Optional[System.Boolean] Whether the result values are distributed in a Logarithmic scale. .. !! processed by numpydoc !! .. py:property:: HighFidelity :no-index: :type: Optional[System.Boolean] Whether to replot and improve the synchronization of the result values. .. !! processed by numpydoc !! .. py:property:: Unit :no-index: :type: Optional[System.String] The unit for the legend. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: GetLowerBound(index: System.Int32) -> Ansys.Core.Units.Quantity :no-index: Gets lower bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: SetLowerBound(index: System.Int32, value: Ansys.Core.Units.Quantity) -> System.Void :no-index: Sets lower bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: GetUpperBound(index: System.Int32) -> Ansys.Core.Units.Quantity :no-index: Gets upper bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: SetUpperBound(index: System.Int32, value: Ansys.Core.Units.Quantity) -> System.Void :no-index: Sets upper bound value of the specified band. .. !! processed by numpydoc !! .. py:method:: GetBandColor(index: System.Int32) -> System.UInt32 :no-index: Gets the color of the specified band. .. !! processed by numpydoc !! .. py:method:: SetBandColor(index: System.Int32, colorValue: System.UInt32) -> System.Void :no-index: Sets the color of the specified band. .. !! processed by numpydoc !! .. py:method:: GetBandColorAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the specified band is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: SetBandColorAuto(index: System.Int32, val: System.Boolean) -> System.Void :no-index: Sets the specified band to Automatic. .. !! processed by numpydoc !! .. py:method:: GetUpperBandValueAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the specified upper band value is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: GetLowerBandValueAuto(index: System.Int32) -> System.Boolean :no-index: Gets whether the lower specified band value is set to Automatic or not. .. !! processed by numpydoc !! .. py:method:: ResetColors() -> System.Void :no-index: Resets all colors to default values. .. !! processed by numpydoc !! .. py:method:: Reset() -> System.Void :no-index: Resets all legend customizations into default values. .. !! processed by numpydoc !! .. vale on