AxisBase.GetScaleInternalValue(TimeSpan) Method
Converts the specified time-span value to an internal numeric format of the current X-axis scale.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
NuGet Package: DevExpress.Charts
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
time |
Time |
A Time |
#Returns
Type | Description |
---|---|
Double | A Double value that represents an x-axis value in the internal format. |
#Remarks
The x-axis always represents any values in the internal numeric format, whether it is ScaleType.Numerical, ScaleType.Qualitative, ScaleType.DateTime or ScaleType.TimeSpan. Use the GetScaleInternalValue method to convert any value to the internal axis scale format.
Note
This method returns System.
See also the Axis Scale Types document that explains how to handle axes with various scales.