Skip to main content
All docs
V25.1
  • DxPolarChartLineSeries<T, TArgument, TValue> Class

    Defines a line series.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.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.

    Closed Line

    Run Demo: Polar and Radar - Discrete Data

    Declare a Line Series

    1. Use the Polar Chart’s Data property to specify a data source.
    2. Add a <DxPolarChartLineSeries> tag to the component’s markup.
    3. Assign data source fields that contain arguments and values for data points to ArgumentField and ValueField properties.
    4. 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
    Contains settings for points of the chart’s line- and area-based 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>
    

    Nested components

    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.

    Custom series appearance

    @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

    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