ComponentOne FinancialChart for WPF
C1.WPF.Chart.Interaction Namespace / C1AxisScrollbar Class / PixelsToUnits Method



In This Topic
    PixelsToUnits Method (C1AxisScrollbar)
    In This Topic
    Converts pixels to it´s corresponding unit value in the range slider
    Syntax
    'Declaration
     
    
    Protected Overrides Function PixelsToUnits( _
       ByVal pixels As Double _
    ) As Double
    'Usage
     
    
    Dim instance As C1AxisScrollbar
    Dim pixels As Double
    Dim value As Double
     
    value = instance.PixelsToUnits(pixels)
    protected override double PixelsToUnits( 
       double pixels
    )
    protected:
    double PixelsToUnits( 
       double pixels
    ) override 

    Parameters

    pixels
    See Also