DxChartAnnotationBase<T>.Height Property
Specifies the annotation height.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public double Height { get; set; }
Property Value
Type | Description |
---|---|
Double | The annotation height in pixels. |
Remarks
Use Height
and Width properties to specify the annotation size.
The following code snippet 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>
Refer to the following section for more information about annotations: Annotations in Blazor Charts.
See Also