Skip to main content
All docs
V24.1

DxChartAnnotationBorder.Visible Property

Specifies whether annotation borders are visible.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true to display annotation borders; otherwise, false.

Remarks

Use the Visible property to control the visibility of annotation borders.

Note

The CornerRadius property values affect an annotation’s appearance even if the Visible property is set to false.

The following example hides annotation borders and applies rounded corners to the annotation:

<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">
        <DxChartAnnotationBorder CornerRadius="6"
                                 Visible="false"/>
    </DxChartAnnotation>
</DxChart>

Chart - Hide annotation borders

See Also