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

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

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

## Properties

### Background

Gets or sets the background color of the legend.

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

#### Property Value

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

#### Examples

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

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.Background = Colors.Red;
```

#### Remarks

This property allows you to set the background color of the legend.
In the UI, this property is represented under the "Font" category with the property name "Background".

### FontColor

Gets or sets the font color of the legend.

```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}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.FontColor = Colors.Red;
```

#### Remarks

This property allows you to set the font color of the legend.
In the UI, this property is represented under the "Font" category with the property name "Color".

### FontFace

Gets or sets the font face of the chart title.

```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}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.FontFace = FontFamily("Arial");
```

#### Remarks

This property allows you to set the font face of the chart title.
In the UI, this property is represented under the "Font" category with the property name "Face".

### FontSize

Gets or sets the font size of the chart title.

```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}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.FontSize = 12;
```

#### Remarks

This property allows you to set the font size of the chart title.
In the UI, this property is represented under the "Font" category with the property name "Size".

### FontStyle

Gets or sets the font style of the chart title.

```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}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.FontStyle = FontStyles.Italic;
```

#### Remarks

This property allows you to set the font style of the chart title.
In the UI, this property is represented under the "Font" category with the property name "Style".
The supported types are:
<ul><li>Italic</li><li>Normal</li><li>Oblique</li></ul>

### FontWeight

Gets or sets the font weight of the chart title.

```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}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.FontWeight = FontWeights.Normal;
```

#### Remarks

This property allows you to set the font weight of the chart title.
In the UI, this property is represented under the "Font" category with the property name "Weight".
The available options are:
<ul><li>Bold</li><li>Normal</li></ul>

### ItemsInFilter

Gets or sets the filter option for displaying curves in the chart.

```csharp theme={null}
string ItemsInFilter { get; set; }
```

#### Property Value

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

#### Examples

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

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.ItemsInFilter = "Visible Curves";
```

#### Remarks

The ItemsInFilter property allows you to control which curves are shown in the chart.
By specifying either AllSeries or AllVisibleSeries, you can choose to display all curves or only the visible ones.
The available options are:
<ul><li>"All Curves"</li><li>"Visible Curves"</li></ul>

### LegendPlacement

Gets or sets the position of the legend in the chart.

```csharp theme={null}
LegendPlacementType LegendPlacement { get; set; }
```

#### Property Value

LegendPlacementType

#### Examples

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

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
chart.Placement = LegendPlacement.Inside;
```

#### Remarks

Use this property to control the placement of the legend within or outside the chart area.
By default, the legend is placed inside the chart area.
The placement can be adjusted to improve the visibility and layout of the chart.
