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

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

Represents the base interface for properties and methods that make up a chart view.

```csharp theme={null}
public interface IOperationsChartViewModel : IView, IOperationsBase
```

#### Implements

[IView](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IView.md),
[IOperationsBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsBase.md)

## Properties

### Legend

Get or sets the legend for the chart.

```csharp theme={null}
IOperationsLegendModifier Legend { get; }
```

#### Property Value

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

#### Examples

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

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

#### Remarks

The Legend property allows you to control the appearance and behavior of the chart's legend.
Through this property, you can access various attributes of the legend and adjust them to fit your
specific requirements.
