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