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

# Interface IOperationsHeatmapNumericAxis2DViewModel

Namespace: [VM.Operations.Post.Interfaces](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces)\
Assembly: VM.Operations.Post.dll

Interface for managing axes in a 2D Numeric Heatmap related to STFT.

```csharp theme={null}
public interface IOperationsHeatmapNumericAxis2DViewModel
```

## Properties

### Digit

Gets or sets the number of digits for the label format.

```csharp theme={null}
int Digit { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `Digit` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.Digit = 3;
```

#### Remarks

Use this property to specify or retrieve the number of digits displayed in the labels on the axis.

### FontColor

Gets or sets the font color of the axis.

```csharp theme={null}
Color FontColor { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `FontColor` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.FontColor = Colors.Red;
```

#### Remarks

This property is part of the "Chart" category and allows you to customize the appearance of the axis by changing its font color.
You can set this property to any valid Color value.

### FontFace

Gets or sets the font family for the axis labels.

```csharp theme={null}
FontFamily FontFace { get; set; }
```

#### Property Value

[FontFamily](https://learn.microsoft.com/dotnet/api/system.windows.media.fontfamily)

#### Examples

The following example demonstrates how to use the `FontFace` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.FontFace = new FontFamily("Arial");
```

#### Remarks

Use this property to specify or retrieve the font family used for the labels on the axis.

### FontSize

Gets or sets the font size of the labels on the axis.

```csharp theme={null}
double FontSize { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `FontSize` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.FontSize = 12.0;
```

#### Remarks

Use this property to specify or retrieve the font size of the labels displayed on the axis.

### FontStyle

Gets or sets the font style for the axis.

```csharp theme={null}
FontStyle FontStyle { get; set; }
```

#### Property Value

[FontStyle](https://learn.microsoft.com/dotnet/api/system.windows.fontstyle)

#### Examples

The following example demonstrates how to use the `FontStyle` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.Style = FontStyle.Italic;
```

#### Remarks

Use this property to specify or retrieve the font style used for the axis.
The available options are:
<ul><li>Italic</li><li>Normal</li><li>Oblique</li></ul>

### FontWeight

Gets or sets the font weight for the labels on the axis.

```csharp theme={null}
FontWeight FontWeight { get; set; }
```

#### Property Value

[FontWeight](https://learn.microsoft.com/dotnet/api/system.windows.fontweight)

#### Examples

The following example demonstrates how to use the `FontWeight` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.FontWeight = FontWeight.Bold;
```

#### Remarks

Use this property to specify or retrieve the font weight of the labels displayed on the axis.
The available options are:
<ul><li>Bold</li><li>Normal</li></ul>

### General

Gets or sets a value indicating whether the label format is set automatically or manually.

```csharp theme={null}
bool General { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `General` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.General = true;
```

#### Remarks

If this property is set to `true`, the Digit and LabelFormatType properties cannot be set.
Use this property to specify whether the label format should be determined automatically or manually.

### LabelFormatType

Gets or sets the format type for the labels on the axis.

```csharp theme={null}
LabelFormatType LabelFormatType { get; set; }
```

#### Property Value

LabelFormatType

#### Examples

The following example demonstrates how to use the `LabelFormatType` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.LabelFormatType = LabelFormatType.Number;
```

#### Remarks

Use this property to specify or retrieve the format type for the decimal values displayed in the labels on the axis.
The available options are:
<ul><li>Exponential</li><li>General</li><li>Number</li></ul>

### ScaleInterval

Gets or sets the scale interval of the axis.

```csharp theme={null}
double ScaleInterval { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `ScaleInterval` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.IsAuto = false;
axis.ScaleInterval = 5.0;
```

#### Remarks

Use this property to manually set the intervals for the axis range.

### ScaleMax

Gets or sets the maximum value of the axis scale.

```csharp theme={null}
double ScaleMax { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `ScaleMax` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.IsAuto = false;
axis.ScaleMax = 100.0;
```

#### Remarks

Use this property to manually set the maximum value for the axis scale.

### ScaleMin

Gets or sets the minimum value of the axis scale.

```csharp theme={null}
double ScaleMin { get; set; }
```

#### Property Value

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

#### Examples

The following example demonstrates how to use the `ScaleMin` property:

```csharp theme={null}
applicationHandler = new ApplicationHandler();
document = applicationHandler.GetDocument("result file path");
page = applicationHandler.GetPage("page1");
chartview = page.CreateChart("ChartView");
axis = chartview.GetAxis("Y");
axis.IsAuto = false;
axis.ScaleMin = 0.0;
```

#### Remarks

Use this property to manually set the minimum value for the axis scale.
