Skip to main content

AxisBase.GetScaleInternalValue(DateTime) Method

Converts the specified date-time value to an internal numeric format of the current X-axis scale.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts


public double GetScaleInternalValue(
    DateTime dateTimeValue


Name Type Description
dateTimeValue DateTime

A DateTime value which specifies a date-time value to convert.


Type Description

A Double value which represents an X-axis value in the internal format.


The X-axis always represents any values in the internal numeric format, whether it is ScaleType.Numerical, ScaleType.Qualitative, or ScaleType.DateTime. Use the GetScaleInternalValue method to convert any value to the internal axis scale format.


This method returns System.Double.NaN if the date-time value doesn’t exist.

For more information, refer to Axis Scale Types.

See Also