Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V24.1

DxChartAnnotationBase<T>.ArrowLength Property

Specifies the annotation arrow length.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

[DefaultValue(14)]
[Parameter]
public double ArrowLength { get; set; }

Property Value

Type Default Description
Double 14

The annotation arrow length in pixels.

Remarks

ArrowLength and ArrowWidth properties allow you to specify the size of the annotation arrow that points to a chart element.

Chart - Annotation arrow

The following example changes the size of the annotation arrow:

<DxChart Data="@DataSource">
    @* ... *@
    <DxChartLineSeries ValueField="@((ApplePrice i) => i.Close)"
                       ArgumentField="@((ApplePrice i) => i.Date)"
                       Name="AAPL" />
    <DxChartAnnotation Argument="new DateTime(2019, 9, 10)"
                       Series="AAPL"
                       Text="Watch Series 5"
                       VerticalOffset="-50"
                       ArrowWidth="0"
                       ArrowLength="30">
        <DxChartAnnotationBorder Color="#FFC107" Width="2" CornerRadius="4" />
    </DxChartAnnotation>
</DxChart>

Chart - The annotation arrow size

Refer to the DxChartAnnotationBase topic for more information about chart annotations.

See Also