DxChartAnnotationBorder.CornerRadius Property
Specifies the corner radius for annotation borders.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(0)]
[Parameter]
public double CornerRadius { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Double | 0 | The corner radius in pixels. |
Remarks
The CornerRadius
property values affect an annotation’s appearance even if the Visible property is set to false
.
The following code snippet changes the appearance of annotation borders:
<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 Color="#5F368D"
CornerRadius="6"
DashStyle="ChartDashStyle.Dot"
Opacity="0.7"
Width="2" />
</DxChartAnnotation>
</DxChart>
See Also