Skip to main content

AxisBase.GetScaleValueFromInternal(Double) Method

Converts the specified internal value of the current X-axis scale to a scale value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public object GetScaleValueFromInternal(
    double internalValue
)

Parameters

Name Type Description
internalValue Double

A Double value which specifies an internal value to convert.

Returns

Type Description
Object

A Object value that represents a scale value.

Remarks

Use the GetScaleValueFromInternal method to obtain a qualitative axis value from the internal numerical equivalent.

XYDiagram diagram = chartControl1.Diagram as XYDiagram;
string argument = diagram.AxisX.GetScaleValueFromInternal(0).ToString();

The code above sets the argument variable to Asia for the following chart:

See Also