Kendo UI seriesDefaults TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("series-defaults", ParentTag = "kendo-chart", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("series-defaults", ParentTag = "kendo-sparkline", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("series-defaults", ParentTag = "kendo-stockchart", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("border", new string[] { "labels", "overlay", "stack", "tooltip", "notes", "error-bars", "legend-item", "focus-highlight" })]
[SuppressTagRendering]
public class ChartSeriesDefaultsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartSeriesDefaultsSettingsTagHelper
Implements:
Inherited Members
Child Tags
Constructors
Initializes a new instance of the ChartSeriesDefaultsSettingsTagHelper class.
public ChartSeriesDefaultsSettingsTagHelper()
Properties
When set to false all segments become with the same height, otherwise the height of each segment is based on its value.
public bool? DynamicHeight { get; set; }
When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value The last element is always created like a rectangle since there is no following element.
public bool? DynamicSlope { get; set; }
The space between the chart series as proportion of the series width.
public double? Spacing { get; set; }
The start angle (degrees) of the first donut or pie segment.Angles increase clockwise and zero is to the left. Negative values are acceptable.
public double? StartAngle { get; set; }
The supported values are: "normal" - The values will be connected with straight line.; "step" - The values will be connected with a line with right angle. or "smooth" - The values will be connected with a smooth line..
public string Style { get; set; }
The type of the series.
public ChartSeriesType? Type { get; set; }
A function that can be used to create a custom visual for the points. Applicable for bar and column series. The available argument fields are: rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the point options.; createVisual - a function that can be used to get the default visual.; category - the point category.; dataItem - the point dataItem.; value - the point value.; sender - the chart instance. or series - the point series..
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.