Skip to main content

Motion Standalone Postprocessor C# library 2026 R1

Interface IOperationsLine2DViewModel

Last update: 09.03.2026

Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll

Represents the interface for 2D chart operations view models.

public interface IOperationsLine2DViewModel : IOperationsLine2DViewModelBase, IOperationsChartViewModel, IView

Implements

IOperationsLine2DViewModelBase, IOperationsChartViewModel, IView

Examples

To view the examples, refer to the location of the 'Install_Path\Motion\Document\Postprocessor API for Python.zip' file.

# IOperationsLine2DViewModel.py
import sys

# Get the current file's path and set the path for external modules.
current_dir = __file__.rsplit('\\', 1)[0]
external_modules_path = current_dir + '\\..\\..\\Modules'
sys.path.append(external_modules_path)

# Import necessary modules
from OperationAPI import *

# Start the headless application interface
applicationHandler = ApplicationHandler()

# Import result file
result_file_path = get_result_file_path()

# Set array about result file
filepaths = List[str]()
filepaths.Add(result_file_path)

# Open about result files
# This will open the result file in the application.
# When the result is first opened, a Page is created and an Animation View is created on that Page.
applicationHandler.AddDocument(filepaths)

# Get Active Page
# This retrieves the currently active page in the application.
page = applicationHandler.GetActivePage()

# Creating a Chart
# Create a new Chart View on the page
# This will create a new chart view with the specified name.
chartView = page.CreateChart("Chart")

chartView.AxisX = False
chartView.AxisY = False
chartView.ShowLegend = False
chartView.ShowAnimationBar = False
chartView.TrackingCurve = False
chartView.TrackingOption = ChartAxisType.Multiple

# Close the Pages
page.Close()

# Close the Document
applicationHandler.CloseDocument(result_file_path)

Properties

AxisX

Gets or sets a value indicating whether the X-axis is visible.

bool AxisX { get; set; }

Property Value

bool

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

This property determines whether the X-axis is visible in the chart. In the UI, this property is represented under the "Chart" category with the property name "Axis X".

AxisY

Gets or sets a value indicating whether the Y-axis is visible.

bool AxisY { get; set; }

Property Value

bool

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

This property determines whether the Y-axis is visible in the chart. In the UI, this property is represented under the "Chart" category with the property name "Axis Y".

ShowAnimationBar

Gets or sets a value indicating whether the Animation Bar is visible.

bool ShowAnimationBar { get; set; }

Property Value

bool

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

Use this property to control the visibility of the Animation Bar in the user interface. In the UI, this property is represented under the "Data Tracking" category with the property name "Animation Bar".

ShowLegend

Gets or sets a value indicating whether the legend of the 2D chart is visible.

bool ShowLegend { get; set; }

Property Value

bool

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

Use this property to control the visibility of the legend in a 2D chart. In the UI, this property is represented under the "Chart" category with the property name "Legend".

TrackingCurve

Gets or sets a value indicating whether the Tracking Curve is visible.

bool TrackingCurve { get; set; }

Property Value

bool

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

This property determines whether the Tracking Curve is visible in the chart. In the UI, this property is represented under the "Data Tracking" category with the property name "Tracking Data".

TrackingOption

Gets or sets the tracking option for displaying data points on the chart.

ChartAxisType TrackingOption { get; set; }

Property Value

ChartAxisType

Examples

For an example that includes this property, see the Interface IOperationsLine2DViewModel.

Remarks

This property determines whether the data point values are shown for the closest curve or for all curves in the chart when the mouse is hovered over it. The property does not function if the Tracking Curve option is disabled. In the UI, this property is labeled as "Tracking Type". The supported types are:

Methods

CreateAbsolute(IEnumerable<string>, SignType)

Transforms data series into absolute values for the Y-Axis as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAbsolute(IEnumerable<string> lstSeriesName, SignType signType)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

signType SignType

The type of absolute value transformation to apply. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with transformed absolute values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function iterates over each series specified in lstSeriesName and transforms the Y values of each point in the series to their absolute values based on the provided signType. If signType is , the Y values are converted to their positive absolute values. If signType is , the Y values are converted to their negative absolute values.

CreateAbsolute(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SignType)

Transforms data series into absolute values for the Y-Axis as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAbsolute(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SignType signType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

signType SignType

The type of absolute value transformation to apply. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with transformed absolute values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function iterates over each series in seriesViewModels and transforms the Y values of each point in the series to their absolute values based on the provided signType. If signType is , the Y values are converted to their positive absolute values. If signType is , the Y values are converted to their negative absolute values.

CreateAlign(IEnumerable<string>, AlignType)

Aligns data series to zero or the first point of the target curve as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAlign(IEnumerable<string> lstSeriesName, AlignType alignType)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

alignType AlignType

The type of alignment to apply. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with aligned values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function iterates over each series specified in lstSeriesName and aligns the Y values of each point in the series based on the provided alignType. If alignType is , the Y values are aligned to zero. If alignType is , the Y values are aligned to the first point of the target curve.

CreateAlign(IEnumerable<IOperationsLineDataSeriesViewModelBase>, AlignType)

Aligns data series to zero or the first point of the target curve as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateAlign(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, AlignType alignType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

alignType AlignType

The type of alignment to apply. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with aligned values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function iterates over each series in seriesViewModels and aligns the Y values of each point in the series based on the provided alignType. If alignType is , the Y values are aligned to zero. If alignType is , the Y values are aligned to the first point of the target curve.

CreateDifferentiatedCurve(IEnumerable<string>)

Differentiates data series as part of the chart tab's Calculus functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateDifferentiatedCurve(IEnumerable<string> lstSeriesName)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the differentiation on.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with differentiated values.

Examples

For an example that includes this property, see the Interface IOperationsCalculusLineDataSeriesViewModel.

Remarks

This function iterates over each series specified in lstSeriesName and applies differentiation to the Y values of each point in the series. The differentiation calculates the difference between consecutive points.

CreateDifferentiatedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Differentiates data series as part of the chart tab's Calculus functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateDifferentiatedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the differentiation on.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with differentiated values.

Examples

For an example that includes this property, see the Interface IOperationsCalculusLineDataSeriesViewModel.

Remarks

This function iterates over each series in seriesViewModels and applies differentiation to the Y values of each point in the series. The differentiation calculates the difference between consecutive points.

CreateFFT(IEnumerable<string>, FFTType, FFTWindowType, ScaleType, int, double, double)

Applies FFT (Fast Fourier Transform) to data series as part of the chart tab's functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFFT(IEnumerable<string> lstSeriesName, FFTType fftType, FFTWindowType fftWindowType, ScaleType scaleType, int points, double start, double end)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

fftType FFTType

The type of FFT to apply. The supported types are:

fftWindowType FFTWindowType

The window type to use for FFT. The supported types are:

scaleType ScaleType

The scale type to apply. The supported types are:

points int

The number of data points for FFT.

start double

The start time for using FFT on target data series.

end double

The end time for using FFT on target data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with FFT applied.

Examples

For an example that includes this property, see the Interface IOperationsFFTLineDataSeriesViewModel.

Remarks

This function performs FFT on each series specified in lstSeriesName within the provided start and end time range, using the specified FFT type, window type, scale type, and number of points.

CreateFFT(IEnumerable<IOperationsLineDataSeriesViewModelBase>, FFTType, FFTWindowType, ScaleType, int, double, double)

Applies FFT (Fast Fourier Transform) to data series as part of the chart tab's functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFFT(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, FFTType fftType, FFTWindowType fftWindowType, ScaleType scaleType, int points, double start, double end)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

fftType FFTType

The type of FFT to apply. The supported types are:

fftWindowType FFTWindowType

The window type to use for FFT. The supported types are:

scaleType ScaleType

The scale type to apply. The supported types are:

points int

The number of data points for FFT.

start double

The start time for using FFT on target data series.

end double

The end time for using FFT on target data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with FFT applied.

Examples

For an example that includes this property, see the Interface IOperationsFFTLineDataSeriesViewModel.

Remarks

This function performs FFT on each series specified in seriesViewModels within the provided start and end time range, using the specified FFT type, window type, scale type, and number of points.

CreateFiltering(IEnumerable<string>, FilteringType, int, double, double)

Applies data filtering and smoothing to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFiltering(IEnumerable<string> lstSeriesName, FilteringType filteringType, int order, double frequency1, double frequency2)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

filteringType FilteringType

The type of filter to apply. The supported types are:

order int

The order of the filter. As the value decreases, the output becomes smoother.

frequency1 double

The first frequency value for the filter.

frequency2 double

The second frequency value for the filter, used in band filters.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with filtering applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs filtering on each series specified in lstSeriesName using the specified filtering type, filter order, and frequency values. The filtering operation can smooth the data series based on the parameters provided.

CreateFiltering(IEnumerable<IOperationsLineDataSeriesViewModelBase>, FilteringType, int, double, double)

Applies data filtering and smoothing to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFiltering(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, FilteringType filteringType, int order, double frequency1, double frequency2)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

filteringType FilteringType

The type of filter to apply. The supported types are:

order int

The order of the filter. As the value decreases, the output becomes smoother.

frequency1 double

The first frequency value for the filter.

frequency2 double

The second frequency value for the filter, used in band filters.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with filtering applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs filtering on each series specified in seriesViewModels using the specified filtering type, filter order, and frequency values. The filtering operation can smooth the data series based on the parameters provided.

CreateFrequencyWeighting(IEnumerable<string>, WeightingType, FrequencyAxisType)

Applies frequency weighting to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFrequencyWeighting(IEnumerable<string> lstSeriesName, WeightingType weightingType, FrequencyAxisType axisType)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

weightingType WeightingType

The type of weighting to apply. The supported types are:

axisType FrequencyAxisType

Used to set the base of the log scale. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with frequency weighting applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs frequency weighting on each series specified in lstSeriesName using the specified weighting type and axis type. A-weighting is the most commonly used to measure the sound pressure level, while B-weighting and C-weighting are alternative weighting functions.

CreateFrequencyWeighting(IEnumerable<IOperationsLineDataSeriesViewModelBase>, WeightingType, FrequencyAxisType)

Applies frequency weighting to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateFrequencyWeighting(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, WeightingType weightingType, FrequencyAxisType axisType)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

weightingType WeightingType

The type of weighting to apply. The supported types are:

axisType FrequencyAxisType

Used to set the base of the log scale. The supported types are:

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with frequency weighting applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs frequency weighting on each series specified in seriesViewModels using the specified weighting type and axis type. A-weighting is the most commonly used to measure the sound pressure level, while B-weighting and C-weighting are alternative weighting functions.

CreateIntegratedCurve(IEnumerable<string>)

Integrates data series as part of the chart tab's Calculus functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateIntegratedCurve(IEnumerable<string> lstSeriesName)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the integration on.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with integrated values.

Examples

For an example that includes this property, see the Interface IOperationsCalculusLineDataSeriesViewModel.

Remarks

This function performs integration on each series specified in lstSeriesName by calculating the cumulative sum of the Y values of each point in the series.

CreateIntegratedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Integrates data series as part of the chart tab's Calculus functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateIntegratedCurve(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with integrated values.

Examples

For an example that includes this property, see the Interface IOperationsCalculusLineDataSeriesViewModel.

Remarks

This function performs integration on each series specified in seriesViewModels by calculating the cumulative sum of the Y values of each point in the series.

CreateInterpolation(IEnumerable<string>, int)

Applies interpolation to data series as part of the chart tab's Interpolation functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateInterpolation(IEnumerable<string> lstSeriesName, int points)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the interpolation on.

points int

The number of data points for interpolation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with interpolated values.

Examples

For an example that includes this property, see the Interface IOperationsInterpolationLineDataSeriesViewModel.

Remarks

This function performs interpolation on each series specified in lstSeriesName by calculating the interpolated values based on the specified number of points.

CreateInterpolation(IEnumerable<IOperationsLineDataSeriesViewModelBase>, int)

Applies interpolation to data series as part of the chart tab's Interpolation functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateInterpolation(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, int points)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

points int

The number of data points for interpolation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with interpolated values.

Examples

For an example that includes this property, see the Interface IOperationsInterpolationLineDataSeriesViewModel.

Remarks

This function performs interpolation on each series specified in seriesViewModels by calculating the interpolated values based on the specified number of points.

CreateLogScale(IEnumerable<string>, double, double, bool)

Applies a logarithmic scale to data series as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateLogScale(IEnumerable<string> lstSeriesName, double coefficient, double baseValue, bool decibel)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

coefficient double

The value of the coefficient.

baseValue double

The value of the base for the logarithmic scale.

decibel bool

Indicates whether to apply the decibel scale (20 * Log10(Y)) to the data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with logarithmic scaling applied.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function performs a logarithmic transformation on each series specified in lstSeriesName using the specified coefficient, base value, and whether to use the decibel scale.

CreateLogScale(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double, bool)

Applies a logarithmic scale to data series as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateLogScale(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double coefficient, double baseValue, bool decibel)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

coefficient double

The value of the coefficient.

baseValue double

The value of the base for the logarithmic scale.

decibel bool

Indicates whether to apply the decibel scale (20 * Log10(Y)) to the data series.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with logarithmic scaling applied.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function performs a logarithmic transformation on each series specified in seriesViewModels using the specified coefficient, base value, and whether to use the decibel scale.

CreateSTFT(ISTFTParameters, IList<string>)

Creates a Short Time Fourier Transform (STFT) for data series and updates the heatmap data.

IOperationsHeatMapSTFTViewModel[] CreateSTFT(ISTFTParameters hitmapData, IList<string> lstSeriesName)

Parameters

hitmapData ISTFTParameters

The heatmap data model to update with STFT results.

  • - The value about setting the number of the interval for dividing Y direction grids on color map.
  • - The value about setting the number of the interval for dividing X direction grids on color map.
  • - The value of the percentage for setting overlapped intervals.
  • - The number of data point for FFT.
  • - The start time for using FFT on target data series.
  • - The end time for using FFT on target data series.
  • - The reference value on decibel as the type of the scale.
  • - the scale factor to change from time domain to another domain.
  • - An STFTScaleType enumeration value that represents the scale type for the STFT.

lstSeriesName IList<string>

The list of curve names to perform the STFT operation on.

Returns

IOperationsHeatMapSTFTViewModel[]

A collection of STFTView.

Examples

For an example that includes this property, see the Interface IOperationsHeatMapSTFTViewModel.

Remarks

This function performs the STFT on each series specified in lstSeriesName and updates the heatmap data model with the results. The heatmap data model is defined by the interface.

CreateSTFT(ISTFTParameters, IEnumerable<IOperationsLineDataSeriesViewModelBase>)

Creates a Short Time Fourier Transform (STFT) for data series and updates the heatmap data.

IOperationsHeatMapSTFTViewModel[] CreateSTFT(ISTFTParameters hitmapData, IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels)

Parameters

hitmapData ISTFTParameters

The heatmap data model to update with STFT results.

  • - The value about setting the number of the interval for dividing Y direction grids on color map.
  • - The value about setting the number of the interval for dividing X direction grids on color map.
  • - The value of the percentage for setting overlapped intervals.
  • - The number of data point for FFT.
  • - The start time for using FFT on target data series.
  • - The end time for using FFT on target data series.
  • - The reference value on decibel as the type of the scale.
  • - the scale factor to change from time domain to another domain.
  • - An STFTScaleType enumeration value that represents the scale type for the STFT.

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

Returns

IOperationsHeatMapSTFTViewModel[]

A collection of STFTView.

Examples

For an example that includes this property, see the Interface IOperationsHeatMapSTFTViewModel.

Remarks

This function performs the STFT on each series specified in seriesViewModels and updates the heatmap data model with the results. The heatmap data model is defined by the interface.

CreateScale(IEnumerable<string>, double, double)

Scales data series by the specified scale values as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateScale(IEnumerable<string> lstSeriesName, double scaleX, double scaleY)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

scaleX double

The value to scale for the X-axis.

scaleY double

The value to scale for the Y-axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with scaled values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function scales each series specified in lstSeriesName by multiplying the X and Y values of each point in the series by the specified scale values.

CreateScale(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double)

Scales data series by the specified scale values as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateScale(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double scaleX, double scaleY)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

scaleX double

The value to scale for the X-axis.

scaleY double

The value to scale for the Y-axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with scaled values.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function scales each series specified in seriesViewModels by multiplying the X and Y values of each point in the series by the specified scale values.

CreateSimpleMath(IEnumerable<string>, SimpleMathType, int)

Performs simple mathematical operations (+, -, *) on data series as part of the chart tab's Simple Math functionality.

IOperationsLineDataSeriesViewModelBase CreateSimpleMath(IEnumerable<string> lstSeriesName, SimpleMathType simpleMathType, int points)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

simpleMathType SimpleMathType

The type of simple math operation to apply. The supported types are:

points int

The number of data points for interpolation.

Returns

IOperationsLineDataSeriesViewModelBase

A single data series resulting from the mathematical operation.

Examples

For an example that includes this property, see the Interface IOperationsSimpleMathLineDataSeriesViewModel.

Remarks

This function performs the specified mathematical operation on each series in lstSeriesName and combines the results into a single series. The function supports addition, subtraction, and multiplication of the Y values of the data points in the series.

CreateSimpleMath(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SimpleMathType, int)

Performs simple mathematical operations (+, -, *) on data series as part of the chart tab's Simple Math functionality.

IOperationsLineDataSeriesViewModelBase CreateSimpleMath(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SimpleMathType simpleMathType, int points)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

simpleMathType SimpleMathType

The type of simple math operation to apply. The supported types are:

points int

The number of data points for interpolation.

Returns

IOperationsLineDataSeriesViewModelBase

A single data series resulting from the mathematical operation.

Examples

For an example that includes this property, see the Interface IOperationsSimpleMathLineDataSeriesViewModel.

Remarks

This function performs the specified mathematical operation on each series in seriesViewModels and combines the results into a single series. The function supports addition, subtraction, and multiplication of the Y values of the data points in the series.

CreateSmoothing(IEnumerable<string>, SmoothingType, int, int)

Applies data filtering and smoothing to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateSmoothing(IEnumerable<string> lstSeriesName, SmoothingType smoothingType, int pointsOfWindow, int polyOrder)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the operation on.

smoothingType SmoothingType

The type of smoothing to apply. The supported types are:

pointsOfWindow int

The number of points for the smoothing window.

polyOrder int

The polynomial order for the smoothing operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with smoothing applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs smoothing on each series specified in lstSeriesName using the specified smoothing type, window size, and polynomial order. The function supports moving average and Savitzky-Golay smoothing methods.

CreateSmoothing(IEnumerable<IOperationsLineDataSeriesViewModelBase>, SmoothingType, int, int)

Applies data filtering and smoothing to data series as part of the chart tab's Signal Processing functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateSmoothing(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, SmoothingType smoothingType, int pointsOfWindow, int polyOrder)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

smoothingType SmoothingType

The type of smoothing to apply. The supported types are:

pointsOfWindow int

The number of points for the smoothing window.

polyOrder int

The polynomial order for the smoothing operation.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of data series with smoothing applied.

Examples

For an example that includes this property, see the Interface IOperationsSignalProcessingLineDataSeriesViewModel.

Remarks

This function performs smoothing on each series specified in seriesViewModels using the specified smoothing type, window size, and polynomial order. The function supports moving average and Savitzky-Golay smoothing methods.

CreateTranslate(IEnumerable<string>, double, double)

Translates data series by the specified offsets as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateTranslate(IEnumerable<string> lstSeriesName, double offsetX, double offsetY)

Parameters

lstSeriesName IEnumerable<string>

The list of curve names to perform the translation on.

offsetX double

The offset value to translate on the X-axis.

offsetY double

The offset value to translate on the Y-axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of translated data series.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function translates each series specified in lstSeriesName by adding the specified offsets to the X and Y values of each point in the series.

CreateTranslate(IEnumerable<IOperationsLineDataSeriesViewModelBase>, double, double)

Translates data series by the specified offsets as part of the chart tab's Transform functionality.

IEnumerable<IOperationsLineDataSeriesViewModelBase> CreateTranslate(IEnumerable<IOperationsLineDataSeriesViewModelBase> seriesViewModels, double offsetX, double offsetY)

Parameters

seriesViewModels IEnumerable<IOperationsLineDataSeriesViewModelBase>

The list of instances of the curves to perform the operation on.

offsetX double

The offset value to translate on the X-axis.

offsetY double

The offset value to translate on the Y-axis.

Returns

IEnumerable<IOperationsLineDataSeriesViewModelBase>

A collection of translated data series.

Examples

For an example that includes this property, see the Interface IOperationsTransformLineDataSeriesViewModel.

Remarks

This function translates each series specified in seriesViewModels by adding the specified offsets to the X and Y values of each point in the series.

Connect with Ansys