    

 ## On this page

  

 

 # `GlobalLegendSettings`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v261.Ansys.Mechanical.Graphics.GlobalLegendSettings"></a>

#### *class* Ansys.Mechanical.Graphics.GlobalLegendSettings

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines global legend settings.

<a id="overview"></a>

## Overview

### Properties

NameDescription[`LegendOrientation`](#GlobalLegendSettings.LegendOrientation)Whether the orientation of the legend.[`ShowDateAndTime`](#GlobalLegendSettings.ShowDateAndTime)Whether the date and time of the legend is shown.[`ShowDeformingScaling`](#GlobalLegendSettings.ShowDeformingScaling)Whether the Deformation Scaling is shown.[`ShowMinMax`](#GlobalLegendSettings.ShowMinMax)Whether the Min and Max value are shown.<a id="property-detail"></a>

## Property detail

<a id="GlobalLegendSettings.LegendOrientation"></a>

### *property* GlobalLegendSettings.LegendOrientation *: [Ansys.Mechanical.DataModel.Enums.LegendOrientationType](../DataModel/Enums/LegendOrientationType.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.LegendOrientationType) | [None](https://docs.python.org/3/library/constants.html#None)*

Whether the orientation of the legend.

<a id="GlobalLegendSettings.ShowDateAndTime"></a>

### *property* GlobalLegendSettings.ShowDateAndTime *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Whether the date and time of the legend is shown.

<a id="GlobalLegendSettings.ShowDeformingScaling"></a>

### *property* GlobalLegendSettings.ShowDeformingScaling *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Whether the Deformation Scaling is shown.

<a id="GlobalLegendSettings.ShowMinMax"></a>

### *property* GlobalLegendSettings.ShowMinMax *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Whether the Min and Max value are shown.