Assembly: VM.Operations.Post.dll Defines the properties for a custom axis view model in an operations.
Implements
IOperationsAxisViewModelBaseProperties
AxisType
Gets or sets the scale type for the axis.Property Value
AxisTypeExamples
The following example demonstrates how to use theAxisType 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
intExamples
The following example demonstrates how to use theDecimal 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
boolExamples
The following example demonstrates how to use theDefault property:
Remarks
Use this property to specify whether the decimal value for the axis labels should be set automatically or manually. If set tofalse, 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
ColorExamples
The following example demonstrates how to use theColor 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
FontFamilyExamples
The following example demonstrates how to use theFontFace 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
boolExamples
The following example demonstrates how to use theIsAuto property:
Remarks
Use this property to specify whether the axis range intervals should be set automatically or manually. If set tofalse, 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
LabelFormatTypeExamples
The following example demonstrates how to use theLabelFormatType 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
doubleExamples
The following example demonstrates how to use theLabelSize 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
FontWeightExamples
The following example demonstrates how to use theLabelWeight 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
stringExamples
The following example demonstrates how to use theLogarithmicBase 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
doubleExamples
The following example demonstrates how to use theScaleInterval property:
Remarks
This property is only applicable when IsAuto is set tofalse.
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
doubleExamples
The following example demonstrates how to use theScaleMax property:
Remarks
This property is only applicable when IsAuto is set tofalse.
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
doubleExamples
The following example demonstrates how to use theScaleMin property:
Remarks
This property is only applicable when IsAuto is set tofalse.
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
FontStyleExamples
The following example demonstrates how to use theStyle 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
stringExamples
The following example demonstrates how to use theUnit property: