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

The data aggregate to apply to chart series. ChartSeriesAggregateSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("aggregate", ParentTag = "series-item", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class ChartSeriesAggregateSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseChartSeriesAggregateSettingsTagHelper

Implements: ITagHelperITagHelperComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-chart name="chart">
    <series>
        <series-item type="ChartSeriesType.Candlestick">
            <aggregate close="ChartSeriesAggregate.Avg"></aggregate>
        </series-item>
    </series>
</kendo-chart>

Constructors

C#
public ChartSeriesAggregateSettingsTagHelper()

Properties

Specifies the aggregate for the close value. Applicable to "candlestick" series.

C#
public ChartSeriesAggregate? Close { get; set; }

Specifies the aggregate handler for the close value. Applicable to "candlestick" series.

C#
public string CloseHandler { get; set; }

Specifies the aggregate for the high value. Applicable to "candlestick" series.

C#
public ChartSeriesAggregate? High { get; set; }

Specifies the aggregate handler for the high value. Applicable to "candlestick" series.

C#
public string HighHandler { get; set; }

Specifies the aggregate for the low value. Applicable to "candlestick" series.

C#
public ChartSeriesAggregate? Low { get; set; }

Specifies the aggregate for the lower value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Lower { get; set; }

Specifies the aggregate handler for the lower value. Applicable to "boxPlot" series.

C#
public string LowerHandler { get; set; }

Specifies the aggregate handler for the low value. Applicable to "candlestick" series.

C#
public string LowHandler { get; set; }

Specifies the aggregate for the mean value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Mean { get; set; }

Specifies the aggregate handler for the mean value. Applicable to "boxPlot" series.

C#
public string MeanHandler { get; set; }

Specifies the aggregate for the median value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Median { get; set; }

Specifies the aggregate handler for the median value. Applicable to "boxPlot" series.

C#
public string MedianHandler { get; set; }

Specifies the aggregate for the open value. Applicable to "candlestick" series.

C#
public ChartSeriesAggregate? Open { get; set; }

Specifies the aggregate handler for the open value. Applicable to "candlestick" series.

C#
public string OpenHandler { get; set; }

Specifies the aggregate for outliers. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Outliers { get; set; }

Specifies the aggregate handler for outliers. Applicable to "boxPlot" series.

C#
public string OutliersHandler { get; set; }

Specifies the aggregate for the q1 value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Q1 { get; set; }

Specifies the aggregate handler for the q1 value. Applicable to "boxPlot" series.

C#
public string Q1Handler { get; set; }

Specifies the aggregate for the q3 value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Q3 { get; set; }

Specifies the aggregate handler for the q3 value. Applicable to "boxPlot" series.

C#
public string Q3Handler { get; set; }

Specifies the aggregate for the upper value. Applicable to "boxPlot" series.

C#
public ChartSeriesAggregate? Upper { get; set; }

Specifies the aggregate handler for the upper value. Applicable to "boxPlot" series.

C#
public string UpperHandler { get; set; }

Methods

Adds the current TagHelper instance to its parent TagHelper.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

The TagHelper context.

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

SerializeSettings method.

C#
protected Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>