ChartPaneTagHelper
Class
Kendo UI ChartPane TagHelper ChartPaneTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("pane", ParentTag = "panes", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "margin", "padding", "chart-pane-title" })]
[SuppressTagRendering]
public class ChartPaneTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChartPaneTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<panes>
<pane name="mainPane" background="#e3e3e3"></pane>
</panes>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartPaneTagHelper class.
C#
public ChartPaneTagHelper()
Properties
The background color of the chart pane. Accepts a valid CSS color string, including hex and rgb.
C#
public string Background { get; set; }
Specifies whether the charts in the pane should be clipped. By default all charts except radar, polar and 100% stacked charts are clipped.
C#
public bool? Clip { get; set; }
The title configuration of the chart pane.
C#
[HtmlAttributeName("title")]
public string TitleValue { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.