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

DxChartAnnotationBase<T>.Width Property

Specifies the annotation width.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

[Parameter]
public double Width { get; set; }

Property Value

Type Description
Double

The annotation width in pixels.

Remarks

Use Height and Width properties to specify the annotation size.

The code sample below changes the annotation height and width:

<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"
                       Height="70"
                       Width="150">
        @* ... *@
    </DxChartAnnotation>
</DxChart>

Chart - Change the annotation size

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

See Also