Kendo UI item TagHelper ChartLegendItemSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("item", ParentTag = "chart-legend", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("area", new string[] { "highlight", "line", "markers" })]
[SuppressTagRendering]
public class ChartLegendItemSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartLegendItemSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<chart-legend>
<item>
<area />
</item>
</chart-legend>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartLegendItemSettingsTagHelper class.
public ChartLegendItemSettingsTagHelper()
Properties
The type of the legend items.
public ChartLegendItemType? Type { get; set; }
A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options.; createVisual - a function that can be used to get the default visual.; series - the item series. or pointIndex - the index of the point in the series. Available for pie, donut and funnel series..
public string Visual { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.