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

Properties

AxisType

Gets or sets the scale type for the axis.

Property Value

AxisType

Examples

The following example demonstrates how to use the AxisType property:

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

The following example demonstrates how to use the Decimal property:

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

The following example demonstrates how to use the Default property:

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

The following example demonstrates how to use the Color property:

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

The following example demonstrates how to use the FontFace property:

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

The following example demonstrates how to use the IsAuto property:

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

The following example demonstrates how to use the LabelFormatType property:

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

The following example demonstrates how to use the LabelSize property:

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

The following example demonstrates how to use the LabelWeight property:

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

The following example demonstrates how to use the LogarithmicBase property:

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

The following example demonstrates how to use the ScaleInterval property:

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

The following example demonstrates how to use the ScaleMax property:

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

The following example demonstrates how to use the ScaleMin property:

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

The following example demonstrates how to use the Style property:

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

The following example demonstrates how to use the Unit property:

Remarks

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