DxChartAnnotationBase<T>.Series Property
Specifies the series name to anchor the annotation.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string Series { get; set; }
Property Value
Type | Description |
---|---|
String | The series name. |
Remarks
The Chart component allows you to anchor the annotation to a series point. To enable this functionality, specify Series
and Argument properties.
In DxPieChart, you can leave the Series
property unspecified if your component contains a single series.
<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">
</DxChartAnnotation>
</DxChart>
Refer to the following section for more information about annotations: Annotations in Blazor Charts.
See Also