Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Chart Assembly / C1.Xamarin.Forms.Chart.Interaction Namespace / C1LineMarker Class / VerticalPosition Property


In This Topic
    VerticalPosition Property
    In This Topic
    Gets or sets the vertical position of the LineMarker relative to the plot area. Its value range is (0, 1). If set this value,then the line marker's vertical position is fixed. If the value is null or undefined and interaction is set to LineMarkerInteraction.Move or LineMarkerInteraction.Drag, the vertical position of the LineMarker is calculated automatically based on the pointer's position.
    Syntax
    'Declaration
     
    
    Public Property VerticalPosition As Double
    'Usage
     
    
    Dim instance As C1LineMarker
    Dim value As Double
     
    instance.VerticalPosition = value
     
    value = instance.VerticalPosition
    public double VerticalPosition {get; set;}
    See Also