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


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