blazor-devexpress-dot-blazor-dot-dxchartannotationborder-95292f96.md
Specifies annotation border transparency.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public double Opacity { get; set; }
| Type | Description |
|---|---|
| Double |
A value between 0 (transparent) and 1 (opaque).
|
The Opacity property accepts values from 0 (transparent) to 1 (opaque).
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