Skip to main content
All docs
V24.1

DxChartAnnotationShadow.Blur Property

Specifies the blur radius for annotation shadows.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(4)]
[Parameter]
public double Blur { get; set; }

Property Value

Type Default Description
Double 4

The blur radius in pixels.

Remarks

The Blur property applies a blur affect to annotation shadows. To hide shadows, set the Blur property to 0.

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>

Chart - Annotation shadows

See Also