Kendo UI notes TagHelper ChartYAxisNotesSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("notes", ParentTag = "y-axis-item", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("chart-y-axis-notes-icon", new string[] { "chart-y-axis-notes-label", "chart-y-axis-notes-line" })]
[SuppressTagRendering]
public class ChartYAxisNotesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartYAxisNotesSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<y-axis>
<y-axis-item>
<notes>
<chart-y-axis-notes-icon></chart-y-axis-notes-icon>
</notes>
</y-axis-item>
</y-axis>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartYAxisNotesSettingsTagHelper class.
public ChartYAxisNotesSettingsTagHelper()
Properties
The position of the y axis notes. "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.; 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.