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

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 a view model for the simplemath line data series.

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

## Properties

### MathType

Gets or sets the type of simple math operation.

```csharp theme={null}
SimpleMathType MathType { get; set; }
```

#### Property Value

SimpleMathType

#### Examples

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

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ();
curvePaths.Add(r'Displacement/Magnitude');
curvePaths.Add(r'Acceleration/Magnitude');
# Set a Curve Parameter
parameters = PlotParameters();
parameters.Paths = curvePaths;
parameters.Target = "BD_001";
curves = chart.AddCurves(filepath, parameters);
simplemathcurves = chart.CreateSimpleMath(series, SimpleMathType.Add, 100);
simplemathcurves.MathType = SimpleMathType.Subtract;
```

#### Remarks

Use this property to specify or retrieve the type of simple math operation.
The supported types are:
<ul><li>Add</li><li>Subtract</li><li>Multiply</li></ul>

### Points

Gets or sets the number of data points for interpolation.

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

#### Property Value

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

#### Examples

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

```csharp theme={null}
filepath = "result file path"
applicationHandler = ApplicationHandler();
page = applicationHandler.GetPage("page1");
chart = page.CreateChart("CurveChart");
# Set array about combination of characteristic and component
curvePaths = List[str] ();
curvePaths.Add(r'Displacement/Magnitude');
curvePaths.Add(r'Acceleration/Magnitude');
# Set a Curve Parameter
parameters = PlotParameters();
parameters.Paths = curvePaths;
parameters.Target = "BD_001";
curves = chart.AddCurves(filepath, parameters);
simplemathcurves = chart.CreateSimpleMath(series, SimpleMathType.Add, 100);
simplemathcurves.Points = 200;
```

#### Remarks

Use this property to specify or retrieve the number of data points to be used for interpolation.
