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

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 line data series.

```csharp theme={null}
public interface IOperationsLineDataSeriesViewModel : IOperationsLineDataSeriesViewModelBase, ILineDataSeriesViewModelBase, IHasSourceViewModel, IViewModel, IObservableObject, IDisposableObject, IEnabled, IExpanded, ISelected, IVisible, IThicknessProperty, IOperationsBase
```

#### Implements

[IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md),
ILineDataSeriesViewModelBase,
IHasSourceViewModel,
IViewModel,
IObservableObject,
IDisposableObject,
IEnabled,
IExpanded,
ISelected,
IVisible,
IThicknessProperty,
[IOperationsBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsBase.md)

## Properties

### SourceX

Gets or sets the source X instance of the series.

```csharp theme={null}
ILineDataSeriesAxisViewModel SourceX { get; set; }
```

#### Property Value

ILineDataSeriesAxisViewModel

#### Examples

The following example demonstrates how to use the `SourceX` 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);
curves.SourceX = curve.CreateLineDataSeries(filepath,r'GContact_01',r'GContact_01',r'None', r'Force on Action Marker',r'Y',r'Inertia');
```

#### Remarks

Use this property to specify or retrieve the source X instance of the series.

### SourceY

Gets or sets the source Y instance of the series.

```csharp theme={null}
ILineDataSeriesAxisViewModel SourceY { get; set; }
```

#### Property Value

ILineDataSeriesAxisViewModel

#### Examples

The following example demonstrates how to use the `SourceY` 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);
curves[0].SourceY = curve[0].CreateLineDataSeries(filepath,r'GContact_01',r'GContact_01',r'None', r'Force on Action Marker',r'Y',r'Inertia');
```

#### Remarks

Use this property to specify or retrieve the source Y instance of the series.

## Methods

### CreateLineDataSeries(string, string, string, string, string, string, string)

Creates information of Axis for data series. It is used for modifying information of axis for data series.

```csharp theme={null}
IOperationsLineDataSeriesAxisViewModel CreateLineDataSeries(string filepath, string parent, string fullTarget, string subTarget, string characteristic, string component, string csys)
```

#### Parameters

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

The path of the result to access.

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

The parent entity. If the entity does not have a parent, it should be Empty.

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

The name of the target entity.

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

The name of the child item such as node, element, or marker. If there is no child item, it should be Empty.

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

The name of the characteristic.

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

The name of the component.

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

The name of the coordinate system.

#### Returns

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

An instance of [IOperationsLineDataSeriesAxisViewModel](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesAxisViewModel.md) representing the created axis information for the data series.

#### Examples

The following example demonstrates how to use the `CreateLineDataSeries` method:

```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);
curves.SourceY = curve.CreateLineDataSeries(filepath,r'GContact_01',r'GContact_01',r'None', r'Force on Action Marker',r'Y',r'Inertia');
```

#### Remarks

This method creates axis information for a data series, allowing for the modification of axis information for the data series.
