Kendo UI noData TagHelper ChartNoDataSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("no-data", ParentTag = "kendo-chart", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("no-data", ParentTag = "kendo-stockchart", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("no-data-template", new string[] { })]
[SuppressTagRendering]
public class ChartNoDataSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseChartNoDataSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<no-data enabled="true" />
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartNoDataSettingsTagHelper class.
public ChartNoDataSettingsTagHelper()
Properties
The template which is rendered when no series are defined, or all series are empty.The message overlays the entire Chart with the exception of the Title and Subtitle.
public string Template { get; set; }
The template which is rendered when no series are defined, or all series are empty.The message overlays the entire Chart with the exception of the Title and Subtitle. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
The template which is rendered when no series are defined, or all series are empty.The message overlays the entire Chart with the exception of the Title and Subtitle. This option expects the ID of the script element that contains the template.
public string TemplateId { get; set; }
Configures the templates for the ActionSheet.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
The template which is rendered when no series are defined, or all series are empty.The message overlays the entire Chart with the exception of the Title and Subtitle. This option expects the IHtmlContent instance containing the created HTML.
public IHtmlContent TemplateView { 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.