Skip to main content

PieChartSeriesLabelBorderBuilder.DashStyle(DashStyle[]) Method

Specifies a dash style for the borders of point labels. Mirrors the client-side dashStyle option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PieChartSeriesLabelBorderBuilder DashStyle(
    params DashStyle[] values
)

Parameters

Name Type Description
values DashStyle[]

The option value.

Returns

Type Description
PieChartSeriesLabelBorderBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().PieChart()
    .Series(series => {
        series.Add().Label(label => label
            .Border(border => border
                .DashStyle(DashStyle.Dash)
            )
        );
    })
)
See Also