blazor-devexpress-dot-blazor-dot-dxchartannotationborder-5ca17901.md
Specifies whether annotation borders are visible.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to display annotation borders; otherwise, false.
|
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>
See Also