Skip to main content
Namespace: VM.Operations.Post.Interfaces
Assembly: VM.Operations.Post.dll
Defines the properties for a custom axis view model in an operations.

Implements

IOperationsAxisViewModelBase

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

AxisType

Gets or sets the scale type for the axis.

Property Value

AxisType

Examples

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

Remarks

Use this property to specify or retrieve the scale type for the axis. The available options are:
  • Linear - Linear scale.
  • PositiveLogarithmic - Positive logarithmic scale.
  • NegativeLogarithmic - Negative logarithmic scale.

Decimal

Gets or sets the number of decimal places for the labels on the axis.

Property Value

int

Examples

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

Remarks

Use this property to specify or retrieve the number of decimal places displayed in the labels on the axis.

Default

Gets or sets a value indicating whether the decimal value for the axis labels is set automatically or manually.

Property Value

bool

Examples

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

Remarks

Use this property to specify whether the decimal value for the axis labels should be set automatically or manually. If set to false, you can manually set the Decimal property to determine the number of decimal places.

FontColor

Gets or sets the color of the labels on the axis.

Property Value

Color

Examples

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

Remarks

Use this property to specify or retrieve the color of the labels displayed on the axis.

FontFace

Gets or sets the font family for the axis labels.

Property Value

FontFamily

Examples

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

Remarks

Use this property to specify or retrieve the font family used for the labels on the axis.

IsAuto

Gets or sets a value indicating whether the axis range intervals are set automatically or manually.

Property Value

bool

Examples

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

Remarks

Use this property to specify whether the axis range intervals should be set automatically or manually. If set to false, you can manually set the intervals for the axis range.

LabelFormatType

Gets or sets the format type for the labels on the axis.

Property Value

LabelFormatType

Examples

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

Remarks

Use this property to specify or retrieve the format type for the decimal values displayed in the labels on the axis. The available options are:
  • Exponential
  • Number
  • General

LabelSize

Gets or sets the font size of the labels on the axis.

Property Value

double

Examples

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

Remarks

Use this property to specify or retrieve the font size of the labels displayed on the axis.

LabelWeight

Gets or sets the font weight of the labels on the axis.

Property Value

FontWeight

Examples

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

Remarks

Use this property to specify or retrieve the font weight of the labels displayed on the axis. The available options are:
  • Bold
  • Normal

LogarithmicBase

Gets or sets the base for the logarithmic scale of the axis.

Property Value

string

Examples

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

Remarks

This property is only applicable when the AxisType is set to PositiveLogarithmic or NegativeLogarithmic. Use this property to specify or retrieve the base value for the logarithmic scale displayed on the axis. Supported values are:
  • “2”
  • “3”
  • “4”
  • “5”
  • “10”
  • “E”

ScaleInterval

Gets or sets the scale interval of the axis.

Property Value

double

Examples

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

Remarks

This property is only applicable when IsAuto is set to false. Use this property to manually set the intervals for the axis range.

ScaleMax

Gets or sets the maximum value of the axis scale.

Property Value

double

Examples

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

Remarks

This property is only applicable when IsAuto is set to false. Use this property to manually set the maximum value for the axis scale.

ScaleMin

Gets or sets the minimum value of the axis scale.

Property Value

double

Examples

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

Remarks

This property is only applicable when IsAuto is set to false. Use this property to manually set the minimum value for the axis scale.

Style

Gets or sets the font style for the axis.

Property Value

FontStyle

Examples

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

Remarks

Use this property to specify or retrieve the font style used for the axis. The available options are:
  • Italic
  • Normal
  • Oblique

Unit

Gets the unit of the axis.

Property Value

string

Examples

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

Remarks

Use this property to specify or retrieve the unit displayed on the axis.