blazor-devexpress-dot-blazor-e7536011.md
Defines annotation shadow settings.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public class DxChartAnnotationShadow :
DxSettingsComponent<ChartAnnotationShadowModel>
The DxChartAnnotationShadow component allows you to configure shadows for chart annotations.
Blur | Color | OpacitySpecify the shadow appearance.HorizontalOffset | VerticalOffsetSpecify the shadow position.
The following code snippet configures shadows for a text 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">
<DxChartAnnotationShadow Blur="7"
Color="#5F368D"
HorizontalOffset="10"
VerticalOffset="10"
Opacity="0.9"/>
</DxChartAnnotation>
</DxChart>
Refer to the following section for additional information about annotations: Annotations in Blazor Charts.
Object ComponentBase DxSettingsComponent<DevExpress.Blazor.Internal.ChartAnnotationShadowModel> DxChartAnnotationShadow
See Also