> ## 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 Axis

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

Represents an axis on a plot. Will attempt to name itself based on the series
associated with it.

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

## Inheritance

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

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[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.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[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)

## Constructors

### Axis()

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

### Axis(UnitsType)

```csharp theme={null}
public Axis(UnitsData.UnitsType dimension)
```

#### Parameters

`dimension` UnitsData.UnitsType

### Axis(UnitsType, UnitsData)

```csharp theme={null}
public Axis(UnitsData.UnitsType dimension, UnitsData units)
```

#### Parameters

`dimension` UnitsData.UnitsType

`units` UnitsData

## Properties

### AutoCommenter

```csharp theme={null}
protected AutoCommenter AutoCommenter { get; set; }
```

#### Property Value

AutoCommenter

### AutoNamer

```csharp theme={null}
protected AutoNamer AutoNamer { get; set; }
```

#### Property Value

AutoNamer

### AutoScaleInterval

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

#### Property Value

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

### AutoScaleMaximumValue

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

#### Property Value

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

### AutoScaleMinimumValue

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

#### Property Value

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

### AutoScaleNumIntervals

```csharp theme={null}
public int AutoScaleNumIntervals { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### AxisStyle

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

#### Property Value

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

### Comment

```csharp theme={null}
public string Comment { get; set; }
```

#### Property Value

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

### Dimension

Physical dimension of the axis.

```csharp theme={null}
public UnitsData.UnitsType Dimension { get; set; }
```

#### Property Value

UnitsData.UnitsType

### InternalSuggestedComment

```csharp theme={null}
public string InternalSuggestedComment { get; set; }
```

#### Property Value

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

### InternalSuggestedName

```csharp theme={null}
public string InternalSuggestedName { get; set; }
```

#### Property Value

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

### Interval

```csharp theme={null}
public double Interval { get; set; }
```

#### Property Value

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

### IsInteger

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

#### Property Value

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

### IsReversed

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

#### Property Value

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

### MajorGrid

```csharp theme={null}
public Grid MajorGrid { get; set; }
```

#### Property Value

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

### MaximumValue

```csharp theme={null}
public double MaximumValue { get; set; }
```

#### Property Value

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

### MinimumValue

```csharp theme={null}
public double MinimumValue { get; set; }
```

#### Property Value

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

### MinorGrid

```csharp theme={null}
public Grid MinorGrid { get; set; }
```

#### Property Value

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

### Name

```csharp theme={null}
public string Name { get; set; }
```

#### Property Value

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

### Position

```csharp theme={null}
public Axis.Positions Position { get; set; }
```

#### Property Value

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

### Title

```csharp theme={null}
public string Title { get; set; }
```

#### Property Value

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

### Units

Units system to display on the axis and to use to plot series associated with it.

```csharp theme={null}
public UnitsData Units { get; set; }
```

#### Property Value

UnitsData

## Methods

### GetAxisStyle()

```csharp theme={null}
public AxisStyle GetAxisStyle()
```

#### Returns

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

### GetSelfSuggestedComment()

```csharp theme={null}
protected virtual string GetSelfSuggestedComment()
```

#### Returns

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

### GetSelfSuggestedName()

```csharp theme={null}
protected virtual string GetSelfSuggestedName()
```

#### Returns

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

### SetAxisStyle(AxisStyle)

```csharp theme={null}
public void SetAxisStyle(AxisStyle ax)
```

#### Parameters

`ax` [AxisStyle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Results.Plot.AxisStyle.md)

### ToString()

Returns a string that represents the current object.

```csharp theme={null}
public override string ToString()
```

#### Returns

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

A string that represents the current object.

## See Also

[Plot2d](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.Results.Plot.Plot2d.md),
IAutoName
