Kendo.Mvc.UI.Fluent.ChartSeriesDefaultsBuilder

Defines the fluent API for configuring the chart series defaults.

Methods

Bar

Defines the default settings for bar series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Bar().Stack(true))
)

Column

Defines the default settings for column series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Column().Opacity(0.8))
)

RangeBar

Defines the default settings range bar series

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.RangeBar().Color("orange"))
)

RangeColumn

Defines the default settings range column series

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.RangeColumn().Opacity(0.8))
)

Line

Defines the default settings for line series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Line().Stack(true))
)

VerticalLine

Defines the default settings for vertical line series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.VerticalLine().Color("green"))
)

Area

Defines the default settings for area series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Area().Stack(true))
)

VerticalArea

Defines the default settings for vertical area series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.VerticalArea().Stack(true))
)

Pie

Defines the default settings for pie series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Pie().Overlay(ChartPieSeriesOverlay.None))
)

Donut

Defines the default settings for donut series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Donut().Overlay(ChartPieSeriesOverlay.None))
)

Funnel

Defines the default settings for funnel series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Funnel().DynamicSlope(false))
)

Scatter

Defines the default settings for scatter series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Scatter().Highlight(highlight => highlight.Visible(false)))
)

ScatterLine

Defines the default settings for scatter line series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.ScatterLine().Highlight(highlight => highlight.Visible(false)))
)

OHLC

Defines the default settings for ohlc series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.OHLC().Color("orange"))
)

Bullet

Defines the default settings for bullet series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.Bullet().Target(target => target.Color("blue")))
)

VerticalBullet

Defines the default settings for vertical bullet series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.VerticalBullet().Target(target => target.Color("blue")))
)

RadarArea

Defines the default settings for radar area series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.RadarArea().Stack(true))
)

RadarColumn

Defines the default settings for radar column series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.RadarColumn().Stack(true))
)

RadarLine

Defines the default settings for radar line series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.RadarLine().Stack(true))
)

PolarLine

Defines the default settings for polar line series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.PolarLine().Color("lightblue"))
)

PolarArea

Defines the default settings for polar area series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.PolarArea().Line(line => line.Style(ChartPolarAreaStyle.Smooth)))
)

PolarScatter

Defines the default settings for polar scatter series.

Example (ASPX)

@(Html.Kendo().Chart()
    .Name("chart")
    .SeriesDefaults(defaults => defaults.PolarScatter().Highlight(highlight => highlight.Visible(false)))
)
In this article
Not finding the help you need?