ChartSeriesDefaultsBuilder
Methods
Bar()
Defines the default settings for bar series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Bar().Stack(true))
)
Column()
Defines the default settings for column series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Column().Opacity(0.8))
)
RangeBar()
Defines the default settings range bar series
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.RangeBar().Color("orange"))
)
RangeColumn()
Defines the default settings range column series
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.RangeColumn().Opacity(0.8))
)
Line()
Defines the default settings for line series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Line().Stack(true))
)
VerticalLine()
Defines the default settings for vertical line series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.VerticalLine().Color("green"))
)
Area()
Defines the default settings for area series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Area().Stack(true))
)
VerticalArea()
Defines the default settings for vertical area series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.VerticalArea().Stack(true))
)
Pie()
Defines the default settings for pie series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Pie().Overlay(ChartPieSeriesOverlay.None))
)
Donut()
Defines the default settings for donut series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Donut().Overlay(ChartPieSeriesOverlay.None))
)
Funnel()
Defines the default settings for funnel series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Funnel().DynamicSlope(false))
)
Scatter()
Defines the default settings for scatter series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Scatter().Highlight(highlight => highlight.Visible(false)))
)
ScatterLine()
Defines the default settings for scatter line series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.ScatterLine().Highlight(highlight => highlight.Visible(false)))
)
OHLC()
Defines the default settings for ohlc series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.OHLC().Color("orange"))
)
Bullet()
Defines the default settings for bullet series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Bullet().Target(target => target.Color("blue")))
)
VerticalBullet()
Defines the default settings for vertical bullet series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.VerticalBullet().Target(target => target.Color("blue")))
)
RadarArea()
Defines the default settings for radar area series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.RadarArea().Stack(true))
)
RadarColumn()
Defines the default settings for radar column series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.RadarColumn().Stack(true))
)
RadarLine()
Defines the default settings for radar line series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.RadarLine().Stack(true))
)
PolarLine()
Defines the default settings for polar line series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.PolarLine().Color("lightblue"))
)
PolarArea()
Defines the default settings for polar area series.
Example
@(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
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.PolarScatter().Highlight(highlight => highlight.Visible(false)))
)
HeatMap()
Defines the default settings for polar heat map series.
Pyramid()
Defines the default settings for pyramid series.
Example
@(Html.Kendo().Chart()
.Name("chart")
.SeriesDefaults(defaults => defaults.Pyramid().DynamicHeight(false))
)