Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V24.1

DxChartAnnotationShadow Class

Defines annotation shadow settings.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

public class DxChartAnnotationShadow :
    DxSettingsComponent<ChartAnnotationShadowModel>

Remarks

The DxChartAnnotationShadow component allows you to configure shadows for chart annotations.

Blur | Color | Opacity
Specify the shadow appearance.
HorizontalOffset | VerticalOffset
Specify the shadow position.

The code sample below 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>

Chart - Annotation shadows

Refer to the DxChartAnnotationBase topic for more information about chart annotations.

Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartAnnotationShadowModel>
DxChartAnnotationShadow
See Also