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

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 2D chart view.

```csharp theme={null}
public interface IOperationsLine2DViewModelBase : 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

### Background

Gets or sets the background color of the chart view.

```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 chart view.
In the UI, this property is represented under the "Color" category with the property name "Back Ground".

### BorderColor

Gets or sets the border color of the chart view.

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

#### Property Value

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

#### Examples

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

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

#### Remarks

This property allows you to set the border color of the chart view.
In the UI, this property is represented under the "Color" category with the property name "Border Color".

### ChartAxisType

Gets or sets the axis type of the chart, indicating whether to display the chart's axis as single or multiple.

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

#### Property Value

ChartAxisType

#### Examples

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

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

#### Remarks

This property allows you to set the axis type of the chart. It indicates whether the chart's axis is displayed as single or multiple.
In the UI, this property is represented under the "Axis" category with the property name "Axis Type".
The available options are:
<ul><li>Single</li><li>Multiple</li></ul>

### ChartTitle

Gets or sets the title of the chart view.

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

#### Property Value

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

#### Examples

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

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

#### Remarks

This property allows you to set the title of the chart view.
In the UI, this property is represented under the "Chart" category with the property name "Title".

### FontColor

Gets or sets the font color of the chart view's title.

```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 chart view's title.
In the UI, this property is represented under the "Chart" category with the property name "Font 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>

## Methods

### AddCurves(string, PlotParameters)

Adds curves to the chart by reading data from the specified file path and using the given plot parameters.

```csharp theme={null}
IOperationsLineDataSeriesViewModelBase[] AddCurves(string filepath, PlotParameters parameters)
```

#### Parameters

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

The path to the file containing the curve data.

`parameters` PlotParameters

The parameters used for plotting the curves, including target entity, data paths, coordinate system, and plot data type.
<ul><li>Target - The target entity for plotting the curves.</li><li>PlotDataType - Default or Plot Data.</li><li>Paths - An Paths representing the paths to the data to be read. This is a combination of characteristic and component.</li><li>CSYS - The coordinate system to be used.</li></ul>

#### Returns

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

An array of [IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md) representing the added curves.

#### Examples

The following example demonstrates how to use the `AddCurves` 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);
```

#### Remarks

This method reads data from the specified file path and adds curves to the chart using the provided plot parameters.

### ExportAllCurves(string)

Exports all curves contained in the chart to the specified file path without displaying a file save dialog.

```csharp theme={null}
void ExportAllCurves(string filepath)
```

#### Parameters

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

The file path where the curves will be saved.

#### Examples

The following example demonstrates how to use the `ExportAllCurves` 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);
chart.ExportAllCurves(r"D:\exportaAllCurves.txt");
```

#### Remarks

This method exports all data series contained in the chart without displaying a file save dialog.
It accepts a file path as a parameter and saves the curves directly to that location.
This method is recommended for use with the OperationAPI, especially for repetitive tasks or scenarios
requiring automation.

### ExportAllDataSeries()

Exports all data series included in the chart.

```csharp theme={null}
void ExportAllDataSeries()
```

#### Examples

The following example demonstrates how to use the `ExportAllDataSeries` 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);
chart.ExportAllDataSeries();
```

#### Remarks

This method exports all curves contained in the chart. When used via the OperationAPI, a file dialog appears
on the screen to specify the file save location. Therefore, it is not recommended for repetitive tasks or
scenarios requiring automation. Instead, it is recommended to use the ExportAllCurves() method,
which does not display a file save dialog.

### GetAxis(string)

Retrieves an axis by its name.

```csharp theme={null}
IOperationsAxisViewModelBase GetAxis(string name)
```

#### Parameters

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

The name of the axis to be retrieved.

#### Returns

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

An instance of [IOperationsAxisViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsAxisViewModelBase.md) representing the axis with the specified name,
or `null` if no such axis exists.

#### Examples

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

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

#### Remarks

This method searches for an axis with the given name and returns the corresponding instance.
If no axis with the specified name is found, the method returns `null`.

### GetCurve(string)

Gets a curve from the chart by its name.

```csharp theme={null}
IOperationsLineDataSeriesViewModelBase GetCurve(string name)
```

#### Parameters

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

The name of the curve to retrieve.

#### Returns

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

An instance of [IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md) representing the curve with the specified name, or `null` if no such curve exists.

#### Examples

The following example demonstrates how to use the `GetCurve` 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);
curve = chart.GetCurve(curves[0].SeriesName)
```

#### Remarks

This method searches for and returns the curve with the given name from the chart. If no curve with the specified name is found, it returns `null`.

### GetCurveByID(string)

Gets a curve from the chart by its ID.

```csharp theme={null}
IOperationsLineDataSeriesViewModelBase GetCurveByID(string id)
```

#### Parameters

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

The ID of the curve to retrieve.

#### Returns

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

An instance of [IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md) representing the curve with the specified ID, or `null` if no such curve exists.

#### Examples

The following example demonstrates how to use the `GetCurveByID` 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);
curve = chart.GetCurveByID(curves[0].ID)
```

#### Remarks

This method searches for and returns the curve with the given ID from the chart. If no curve with the specified ID is found, it returns `null`.

### GetCurveNameList()

Gets a list of names of all curves in the chart view.

```csharp theme={null}
IEnumerable<string> GetCurveNameList()
```

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

An IEnumerable\`1 containing the names of all curves currently in the chart view.

#### Examples

The following example demonstrates how to use the `GetCurveNameList` 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);
nameList = chart.GetCurveNameList();
```

#### Remarks

This method retrieves the names of all the curves that are currently displayed in the chart view.

### GetCurves()

Gets all the curves currently included in the chart view.

```csharp theme={null}
IEnumerable<IOperationsLineDataSeriesViewModelBase> GetCurves()
```

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md)>

An IEnumerable\`1 containing all the curves currently in the chart view.

#### Examples

The following example demonstrates how to use the `GetCurves` 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);
curvelist = chart.GetCurves();
```

#### Remarks

This method retrieves all the curves that are currently displayed in the chart view.

### GetCurves(string)

Gets all curves from the chart view that contain the specified substring in their names.

```csharp theme={null}
IEnumerable<IOperationsLineDataSeriesViewModelBase> GetCurves(string name)
```

#### Parameters

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

A substring to search for within the curve names.

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md)>

An IEnumerable\`1 containing all curves that include the specified substring in their names.

#### Examples

The following example demonstrates how to use the `GetCurves` 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);
findCurves = chart.GetCurves("Magnitude");
```

#### Remarks

This method searches for and returns all curves whose names contain the specified substring.
If no such curves are found, an empty collection is returned.

### GetLastCurve()

Gets the most recently added curve from the chart view.

```csharp theme={null}
IOperationsLineDataSeriesViewModelBase GetLastCurve()
```

#### Returns

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

An instance of [IOperationsLineDataSeriesViewModelBase](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Operations.Post.Interfaces.IOperationsLineDataSeriesViewModelBase.md) representing the last added curve, or `null` if no curves are present.

#### Examples

The following example demonstrates how to use the `GetLastCurve` 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);
lastCurve = chart.GetLastCurve();
```

#### Remarks

This method retrieves the curve that was added last to the chart view. If no curves have been added, it returns `null`.

### ImportNumeric(string, List\<INumericParameter>)

Imports curve data from an external file and adds the curves to the chart view.

```csharp theme={null}
void ImportNumeric(string filepath, List<INumericParameter> targets)
```

#### Parameters

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

The path to the file containing the exported curves.

`targets` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<INumericParameter>

A list of INumericParameter objects that specify the parameters for the curves to be created.

#### Examples

The following example demonstrates how to use the `ImportNumeric` 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);
chart.ExportAllCurves(r"D:\exportaAllCurves.txt");
parameters = List[INumericParameter](2);
parameter = NumericParameter();
parameter.Name = r'Curve2 : X(Hz)';
parameter.TargetX = r'X(sec)';
parameter.TargetY = r'Y(Hz)';
parameters.Add(parameter);
chart.ImportNumeric(r"D:\exportaAllCurves.txt", parameters);
```

#### Remarks

This method reads curve data from the specified file and adds the corresponding curves to the chart view.
Each INumericParameter in the `targets` list contains the following properties:
<ul><li>NameThe name of the curve to be created.</li><li>TargetXThe path to the data for the X-axis.</li><li>TargetYThe path to the data for the Y-axis.</li></ul>

### Remove(string)

Removes a curve from the chart by its name.

```csharp theme={null}
void Remove(string id)
```

#### Parameters

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

The id of the curve to be removed.

#### Examples

The following example demonstrates how to use the `Remove` 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);
chart.Remove(curves[0].ID)
```

#### Remarks

This method deletes the curve with the specified name from the chart. If no curve with the given name exists, no action is taken.

### Remove(IOperationsLineDataSeriesViewModelBase)

Removes a curve from the chart by its instance.

```csharp theme={null}
void Remove(IOperationsLineDataSeriesViewModelBase curve)
```

#### Parameters

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

The instance of the curve to be removed.

#### Examples

The following example demonstrates how to use the `Remove` 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);
chart.Remove(curves[0])
```

#### Remarks

This method deletes the specified curve instance from the chart. If the provided curve instance does not exist in the chart, no action is taken.
