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



In This Topic
    PixelsToUnits Method (C1RangeSelector)
    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 C1RangeSelector
    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