Skip to main content
Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
Base interface for managing operations related to the STFT (Short-Time Fourier Transform) view.

Properties

IsAutoRange

Gets or sets a value indicating whether the Min and Max values of the legend are set automatically.

Property Value

bool

Examples

The following example demonstrates how to use the IsAutoRange property:

Remarks

This flag determines whether the Min and Max values of the legend are set automatically or manually. If this property is set to true, the Min and Max values cannot be set manually. In the UI, this property is represented under the “Legend” category with the property name “AutoRange”.

LegendFontColor

Gets or sets the font color of the legend.

Property Value

Color

Examples

The following example demonstrates how to use the LegendFontColor property:

Remarks

This property allows you to set the font color of the legend. In the UI, this property is represented under the “Legend” category with the property name “Font Color”.

LegendFontSize

Gets or sets the font size of the legend.

Property Value

double

Examples

The following example demonstrates how to use the LegendFontSize property:

Remarks

This property allows you to set the font size of the legend. In the UI, this property is represented under the “Legend” category with the property name “Font Size”.

Max

Gets or sets the maximum value of the legend.

Property Value

double

Examples

The following example demonstrates how to use the Max property:

Remarks

This property allows you to set the maximum value of the legend manually if IsAutoRange is false. If IsAutoRange is true, the maximum value is determined automatically. In the UI, this property is represented under the “Legend” category with the property name “Max”.

Min

Gets or sets the minimum value of the legend.

Property Value

double

Examples

The following example demonstrates how to use the Min property:

Remarks

This property allows you to set the minimum value of the legend manually if IsAutoRange is false. If IsAutoRange is true, the minimum value is determined automatically. In the UI, this property is represented under the “Legend” category with the property name “Min”.

Methods

ExportAllCurves(string)

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

Parameters

filepath string The file path where the curves will be saved.

Examples

The following example demonstrates how to use the ExportAllCurves method:

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.

Examples

The following example demonstrates how to use the ExportAllDataSeries method:

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.