> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class Plot2dStyle

Namespace: [OpenTD.Results.Plot](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot)\
Assembly: OpenTD.Results.dll

```csharp theme={null}
public class Plot2dStyle
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Plot2dStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot.Plot2dStyle.md)

## Inherited Members

[object.Equals(object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### Plot2dStyle()

```csharp theme={null}
public Plot2dStyle()
```

## Properties

### AutoHideLegend

If true, plots with one series will hide the legend.

```csharp theme={null}
public bool AutoHideLegend { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### AutoMarkerStyle

Marker style to use if AutoUseMarkersForNonContinuousSeries is true and
non-continuous series are found.

```csharp theme={null}
public MarkerStyle AutoMarkerStyle { get; set; }
```

#### Property Value

[MarkerStyle](https://github.com/kirsan31/winforms-datavisualization/blob/3229fd69de931778b8e872dc2d5ecab468ab24dd/src/WinForms.DataVisualization.Utilities/Enums.cs)

### CustomPalette

```csharp theme={null}
public Color[] CustomPalette { get; set; }
```

#### Property Value

[Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)\[]

### LegendStyle

```csharp theme={null}
public LegendStyle LegendStyle { get; set; }
```

#### Property Value

[LegendStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot.LegendStyle.md)

### Palette

```csharp theme={null}
public ChartColorPalette Palette { get; set; }
```

#### Property Value

[ChartColorPalette](https://github.com/kirsan31/winforms-datavisualization/blob/3229fd69de931778b8e872dc2d5ecab468ab24dd/src/WinForms.DataVisualization.Utilities/ColorPalette.cs)

### Series2dStyles

```csharp theme={null}
public List<Series2dStyle> Series2dStyles { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[Series2dStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot.Series2dStyle.md)>

### Size

```csharp theme={null}
public Size Size { get; set; }
```

#### Property Value

[Size](https://learn.microsoft.com/dotnet/api/system.drawing.size)

### TitleColor

```csharp theme={null}
public Color TitleColor { get; set; }
```

#### Property Value

[Color](https://learn.microsoft.com/dotnet/api/system.drawing.color)

### TitleEnabled

```csharp theme={null}
public bool TitleEnabled { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### TitleFont

```csharp theme={null}
public Font TitleFont { get; set; }
```

#### Property Value

[Font](https://learn.microsoft.com/dotnet/api/system.drawing.font)

### TitlePosition

```csharp theme={null}
public Docking TitlePosition { get; set; }
```

#### Property Value

Docking

### UseCustomPalette

```csharp theme={null}
public bool UseCustomPalette { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### XAxesStyles

```csharp theme={null}
public List<AxisStyle> XAxesStyles { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[AxisStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot.AxisStyle.md)>

### YAxesStyles

```csharp theme={null}
public List<AxisStyle> YAxesStyles { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[AxisStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Results.Plot.AxisStyle.md)>

## Methods

### CheckPalette()

```csharp theme={null}
public virtual void CheckPalette()
```
