Skip to main content

ChartDashStyle Enum

Specifies line styles.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum ChartDashStyle

Members

Name Description
Solid

A continuous solid line.

Dash

A dashed line.

Dot

A dotted line.

LongDash

A line that consists of long dashes.

DashDot

A line that consists of a repeating pattern of dash-dot.

DashDotDot

A line that consists of a repeating pattern of dash-dot-dot.

Related API Members

The following properties accept/return ChartDashStyle values:

Remarks

The following example shows how to define 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