In This Article

XYDecimalAxisBase<T> Class

Represents an axis for data in decimal format.

public class XYDecimalAxisBase<T> : XYAxisBase
Type Parameters:
T -
Inheritance:
object Visual UIElement FrameworkElement Control XYAxisBase object
Derived:
XYDecimalAxis

Constructors

XYDecimalAxisBase()

Creates a new XYDecimalAxis.

public XYDecimalAxisBase()

Properties

Baseline

The baseline value for the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T Baseline { get; set; }

Property Value

T

LabelFunc

Gets or sets the function used to determine axis labels. When set, LabelFormat will be ignored. Normally, the first and second parameters of the function will be the value of the axis point represented by the label. When used on the secondary axis on a Bar Series, the first parameter will represent the starting value of a given slot on the axis, and the second parameter will represent the ending value of a given slot on the axis.

public Func<decimal, decimal, string> LabelFunc { get; set; }

Property Value

Func<decimal, decimal, string>:

The function used to determine axis labels.

Maximum

The maximum value of the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T Maximum { get; set; }

Property Value

T

Minimum

The minimum value of the axis.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T Minimum { get; set; }

Property Value

T

SlotInterval

The slot interval for data points of the axis when using slotted layout.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T SlotInterval { get; set; }

Property Value

T

TickMajorInterval

The interval at which to display major ticks.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T TickMajorInterval { get; set; }

Property Value

T

TickMinorInterval

The interval at which to display minor ticks.

[TypeConverter(typeof(ConvertibleTypeConverter<decimal>))]
public T TickMinorInterval { get; set; }

Property Value

T

Fields

BaselineProperty

Identifies the Baseline dependency property. This field is read-only.

public static readonly DependencyProperty BaselineProperty

LabelFuncProperty

Identifies the LabelFunc dependency property. This field is read-only.

public static readonly DependencyProperty LabelFuncProperty

MaximumProperty

Identifies the Maximum dependency property. This field is read-only.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Identifies the Minimum dependency property. This field is read-only.

public static readonly DependencyProperty MinimumProperty

SlotIntervalProperty

Identifies the SlotInterval dependency property. This field is read-only.

public static readonly DependencyProperty SlotIntervalProperty

TickMajorIntervalProperty

Identifies the TickMajorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMajorIntervalProperty

TickMinorIntervalProperty

Identifies the TickMinorInterval dependency property. This field is read-only.

public static readonly DependencyProperty TickMinorIntervalProperty

Inherited Members