Kendo UI notes TagHelper ChartXAxisNotesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("notes", ParentTag = "x-axis-item", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("chart-x-axis-notes-icon", new string[] { "chart-x-axis-notes-label", "chart-x-axis-notes-line" })]
[SuppressTagRendering]
public class ChartXAxisNotesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartXAxisNotesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<x-axis>
<x-axis-item>
<notes>
<chart-x-axis-notes-icon></chart-x-axis-notes-icon>
</notes>
</x-axis-item>
</x-axis>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartXAxisNotesSettingsTagHelper class.
public ChartXAxisNotesSettingsTagHelper()
Properties
The position of the x axis note. "top" - The note is positioned on the top.; "bottom" - The note is positioned on the bottom.; "left" - The note is positioned on the left. or "right" - The note is positioned on the right..
public ChartNotePosition? Position { get; set; }
A function that can be used to create a custom visual for the notes. The available argument fields are: rect - the kendo.geometry.Rect that defines the note target rect.; sender - the chart instance (may be undefined).; options - the note options.; createVisual - a function that can be used to get the default visual. or value - the note value..
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.