Skip to main content

ManualDateTimeScaleOptions.MeasureUnit Property

Gets or sets the detail level for date-time values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[XtraSerializableProperty]
public DateTimeMeasureUnit MeasureUnit { get; set; }

#Property Value

Type Description
DateTimeMeasureUnit

A DevExpress.Xpf.Charts.DateTimeMeasureUnit enumeration value which represents the axis' detail level.

#Remarks

This property is available when one of the AxisX2D.DateTimeScaleOptions, or RadarAxisX2D.DateTimeScaleOptions properties is set to ManualDateTimeScaleOptions.

ManualDateTimeScaleOptions.MeasureUnit = Day ManualDateTimeScaleOptions.MeasureUnit = Month
ManualDateTimeScale_MeasureUnit_Day ManualDateTimeScale_MeasureUnit_Month

To define a date-time measurement unit to which the beginning of a diagram's grid lines and axis labels should be aligned, use the ManualDateTimeScaleOptions.GridAlignment property.

See Also