Skip to main content

DxChartLineSeriesBase<T, TArgument, TValue>.DashStyle Property

Specifies the dash style of a line series.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public ChartDashStyle DashStyle { get; set; }

Property Value

Type Description
ChartDashStyle

A ChartDashStyle enumeration value.

Available values:

Name Description
Solid

A continuous solid line.

Dash

A dashed line.

Dot

A dotted line.

LongDash

A line that displays long dashes.

DashDot

A line that repeats the dash-dot pattern.

DashDotDot

A line that repeats the dash-dot-dot pattern.

Remarks

Use the DashStyle property to specify the dash style of a line series.

The following example defines a dashed line series:

<DxChart Data="@SalesData">
    <DxChartLineSeries Name="Total Sales"
                       ArgumentField="@((SaleInfo s) => s.City)"
                       ValueField="@((SaleInfo s) => s.Amount)"
                       SummaryMethod="Enumerable.Sum"
                       DashStyle="ChartDashStyle.Dash">
    </DxChartLineSeries>
</DxChart>

Line Series Dash Style

See Also