Kendo.Mvc.UI.Fluent.ChartWaterfallSeriesBuilder

Defines the fluent interface for configuring bar series.

Methods

Line(System.Int32,System.String,Kendo.Mvc.UI.ChartDashType)

Configures the series lines.

Parameters

width System.Int32

The lines width.

color System.String

The lines color.

dashType Kendo.Mvc.UI.ChartDashType

The lines dashType.

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .Waterfall(new int[] { 180, -60, -20, 10, 30 })
        .Line(2, "red", ChartDashType.Dot)
    )
    .Render();
%>

Line(System.Int32)

Configures the series lines width.

Parameters

width System.Int32

The lines width.

Line(System.Int32,System.String)

Configures the series lines.

Parameters

width System.Int32

The lines width.

color System.String

The lines color.

Line(System.Action<Kendo.Mvc.UI.Fluent.ChartLineBuilder>)

Configures the series lines.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChartLineBuilder>

The configuration action.

Example (ASPX)

<% Html.Kendo().Chart()
    .Name("Chart")
    .Series(series => series
        .Waterfall(new int[] { 180, -60, -20, 10, 30 })
        .Line(line => line.Color("#00ff00"))
    )
    .Render();
%>