Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / Axis Class / ConvertModelToScaleCoordinate Method


In This Topic
    ConvertModelToScaleCoordinate Method
    In This Topic
    Converts a model coordinate to scale value
    Syntax
    'Declaration
     
    Public Function ConvertModelToScaleCoordinate( _
       ByVal modelValue As Single, _
       ByVal clampToRuler As Boolean _
    ) As Double
    'Usage
     
    Dim instance As Axis
    Dim modelValue As Single
    Dim clampToRuler As Boolean
    Dim value As Double
     
    value = instance.ConvertModelToScaleCoordinate(modelValue, clampToRuler)
    public double ConvertModelToScaleCoordinate( 
       float modelValue,
       bool clampToRuler
    )

    Parameters

    modelValue
    clampToRuler
    Remarks
    Note that you can use this method only after the axis is calculated - typically while handling a chart BeforeRender or AfterRender event.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also