New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent interface for configuring donut series.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TSeries

TSeriesBuilder

Syntax:

C#
public abstract class ChartDrillDownBuilderBase<TSeries, TSeriesBuilder> where TSeries : IChartSeries where TSeriesBuilder : ChartDrillDownBuilderBase<TSeries, TSeriesBuilder>

Inheritance: objectChartDrillDownBuilderBase<TSeries, TSeriesBuilder>

Derived Classes: ChartBulletSeriesBuilder<T>ChartFunnelSeriesBuilder<T>ChartPieSeriesBuilderBase<TSeries, TSeriesBuilder>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartSeriesBuilderBase<TSeries, TSeriesBuilder> class.

C#
protected ChartDrillDownBuilderBase(TSeries series)
Parameters:seriesTSeries

The series.

Properties

Series

TSeries

Gets or sets the series.

C#
public TSeries Series { get; }
Property Value:

The series.

Methods

The data field which contains the value to use to drill down into detailed data for the point.

C#
public TSeriesBuilder DrilldownField(string value)
Parameters:valuestring

The value for DrilldownField

Returns:

TSeriesBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Series(s =&gt; s.Donut(d =&gt; d.YourField).DrilldownField("YourField"))
)

A function that creates the drilldown series for a given point.The function should accept a single parameter, the point drilldownField value. The function should return a series configuration object or a Promise that resolves to one.

C#
public TSeriesBuilder DrilldownSeriesFactory(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

TSeriesBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Series(s =&gt; s.Donut(d =&gt; d.YourField).DrilldownSeriesFactory(
@&lt;text&gt;
function(e) {
Handle the Click event inline.
}
&lt;/text&gt;
))
)

A function that creates the drilldown series for a given point.The function should accept a single parameter, the point drilldownField value. The function should return a series configuration object or a Promise that resolves to one.

C#
public TSeriesBuilder DrilldownSeriesFactory(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

TSeriesBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("Chart")
.Series(s =&gt; s.Donut(d =&gt; d.YourField).DrilldownSeriesFactory("handerName"))
)