ChartSeriesWhiskersSettingsBuilder
Methods
Color(System.String)
The color of the whiskers.
Parameters
value - System.String
The value for Color
Example
Razor
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.Bar(s => s.Sales).Whiskers(w => w.Color("#0000FF"));
})
)
DashType(Kendo.Mvc.UI.ChartDashType)
The dash type of the whiskers.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line.
Parameters
value - ChartDashType
The value for DashType
Example
Razor
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.Bar(s => s.Sales).Whiskers(w => w.DashType(ChartDashType.Solid));
})
)
Opacity(System.Double)
The opacity of the whiskers.
Parameters
value - System.Double
The value for Opacity
Example
Razor
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.Bar(s => s.Sales).Whiskers(w => w.Opacity(0.7));
})
)
Width(System.Double)
The width of the whiskers.
Parameters
value - System.Double
The value for Width
Example
Razor
@(Html.Kendo().Chart()
.Name("Chart")
.Series(series => {
series.Bar(s => s.Sales).Whiskers(w => w.Width(24));
})
)