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