Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxChartAnnotationBase<T>.PositionY Property

Specifies the Y coordinate of the annotation center.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public double PositionY { get; set; }

#Property Value

Type Description
Double

The Y coordinate.

#Remarks

Specify the annotation’s PositionX and PositionY properties to position the annotation relative to the top left corner of the chart container. Such annotation is unanchored – it does not point to any chart element.

razor
<DxChartAnnotation PositionX="900"
                   PositionY="230"
                   Type="ChartAnnotationType.Image">
    <DxChartAnnotationImage Url="@StaticAssetUtils.GetImagePath("AppleStock/stock.svg")"
                            Width="40"
                            Height="40" />
</DxChartAnnotation>

Chart - Unanchored annotation

You can also use pixel and chart coordinates simultaneously to move an anchored annotation to the specified position. Read more in the following topic: DxChartAnnotationBase.

Refer to the following section for more information about annotations: Annotations in Blazor Charts.

See Also