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>.PositionY Property

Specifies the Y coordinate of the annotation center.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

Declaration

[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.

<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 DxChartAnnotationBase topic for more information about chart annotations.

See Also