DxPolarChartLineSeries<T, TArgument, TValue> Class
Defines a line series.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public class DxPolarChartLineSeries<T, TArgument, TValue> :
DxPolarChartBaseSeries<T, TArgument, TValue>
Type Parameters
Name | Description |
---|---|
T | The data type. |
TArgument | The series argument type. |
TValue | The series value type. |
Remarks
The line series displays data as points joined by line segments.
Declare a Line Series
- Use the Polar Chart’s Data property to specify a data source.
- Add a
<DxPolarChartLineSeries>
tag to the component’s markup. - Assign data source fields that contain arguments and values for data points to ArgumentField and ValueField properties.
- Optional. Configure the series: customize appearance, add labels, choose selection and hover modes, etc.
<DxPolarChart Data=@DataSource>
<DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
ValueField="@((DiscretePoint i) => i.Day)">
</DxPolarChartLineSeries>
<DxChartLegend Visible="false" />
</DxPolarChart>
Nested Component Structure
You can add the following child components to a line series:
- DxChartSeriesLabel
- Defines a series label.
- DxChartSeriesLegendItem
- Defines an item that indicates a series in the legend.
- DxChartSeriesPoint
- Provides settings for points of the chart’s line series.
The following code snippet declares these objects in the markup:
@using System.Drawing
<DxPolarChart Data=@DataSource>
<DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
ValueField="@((DiscretePoint i) => i.Day)">
<DxChartSeriesLabel Visible="true" FormatPattern="{value:##.#}" />
<DxChartSeriesPoint Color="Color.SlateBlue" />
<DxChartSeriesLegendItem Text="Daily Temperature" />
</DxPolarChartLineSeries>
</DxPolarChart>
Customize Appearance
The Polar Chart allows you to use the following options to customize a line series:
- BreakOnEmptyPoints
- Specifies whether the series should break on points with null values.
- Closed
- Specifies whether to connect first and last series points.
- Color
- Specifies the color of the series.
- DashStyle
- Specifies the line style.
- Width
- Specifies the width of the line series.
@using System.Drawing
<DxPolarChart Data=@DataSource>
<DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
ValueField="@((DiscretePoint i) => i.Day)"
Width="1"
Color="Color.DarkSalmon"
DashStyle="ChartDashStyle.DashDotDot">
</DxPolarChartLineSeries>
</DxPolarChart>
User Interaction Options
Users can select a series and its points and hover the mouse pointer over them. The table below describes available user interaction options.
Description | Component Level | Series Level |
---|---|---|
Hover Over Series and Its Elements | Not Applicable | HoverMode |
Series Selection | SeriesSelectionMode | SelectionMode |
Point Selection | PointSelectionMode | Not Applicable |
Implements
Inheritance
Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.IPolarChartSeriesModel>
DxComplexSettingsComponent<DxPolarChartBaseSeries<T, TArgument, TValue>, DevExpress.Blazor.Internal.IPolarChartSeriesModel>
DxPolarChartBaseSeries<T, TArgument, TValue>
DxPolarChartLineSeries<T, TArgument, TValue>
See Also