Back to Devexpress

DxChartAnnotationBorder.Visible Property

blazor-devexpress-dot-blazor-dot-dxchartannotationborder-5ca17901.md

latest1.8 KB
Original Source

DxChartAnnotationBorder.Visible Property

Specifies whether annotation borders are visible.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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:

razor
<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>

See Also

DxChartAnnotationBorder Class

DxChartAnnotationBorder Members

DevExpress.Blazor Namespace