Skip to main content
Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
Represents the base interface for properties and methods that make up a chart view.

Implements

IView

Examples

For an example that includes information about interfaces, see this example. To view the examples, refer to the location of the ‘Install_Path\Motion\Document\Postprocessor API for Python.zip’ file.

Properties

Legend

Get or sets the legend for the chart.

Property Value

IOperationsLegendModifier

Examples

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

Remarks

The Legend property allows you to control the appearance and behavior of the chart’s legend. Through this property, you can access various attributes of the legend and adjust them to fit your specific requirements.

Methods

ImportNumeric(string, List<INumericParameter>)

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

Parameters

filepath string The path to the file containing the exported curves. Supported file formats include (*.txt, *.csv, *.out, *.rsp). targets List<INumericParameter> A list of INumericParameter objects that specify the parameters for the curves to be created.

Examples

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

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:
  • NameThe name of the curve to be created.
  • TargetXThe path to the data for the X-axis.
  • TargetYThe path to the data for the Y-axis.