Kendo UI errorBars TagHelper ChartSeriesErrorBarsSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("error-bars", ParentTag = "series-item", TagStructure = TagStructure.NormalOrSelfClosing)]
[HtmlTargetElement("error-bars", ParentTag = "series-defaults", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("line", new string[] { })]
[SuppressTagRendering]
public class ChartSeriesErrorBarsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseChartSeriesErrorBarsSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chart name="chart">
<series-defaults>
<error-bars color="#ff0000"></error-bars>
</series-defaults>
</kendo-chart>
Child Tags
Constructors
Initializes a new instance of the ChartSeriesErrorBarsSettingsTagHelper class.
public ChartSeriesErrorBarsSettingsTagHelper()
Properties
The color of the error bars. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
If set to false, the error bars caps will not be displayed. By default the caps are visible.
public bool? EndCaps { get; set; }
The error bars value.The following value types are supported: "stderr" - the standard error of the series values will be used to calculate the point low and high value; "stddev(n)" - the standard deviation of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation.; "percentage(n)" - a percentage of the point value; A number that will be subtracted/added to the point value; An array that holds the low and high difference from the point value or A function that returns the errorBars point value.
public string Value { get; set; }
The error bars value.The following value types are supported: "stderr" - the standard error of the series values will be used to calculate the point low and high value; "stddev(n)" - the standard deviation of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation.; "percentage(n)" - a percentage of the point value; A number that will be subtracted/added to the point value; An array that holds the low and high difference from the point value or A function that returns the errorBars point value.
public string ValueHandler { get; set; }
A function that can be used to create a custom visual for the error bars. The available argument fields are: rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the error bar options.; createVisual - a function that can be used to get the default visual.; low - the error bar low value.; high - the error bar high value. or sender - the chart instance..
public string Visual { get; set; }
The xAxis error bars value. See the series.errorBars.value option for a list of the supported value types.
public string XValue { get; set; }
The xAxis error bars value. See the series.errorBars.value option for a list of the supported value types.
public string XValueHandler { get; set; }
The yAxis error bars value. See the series.errorBars.value option for a list of the supported value types.
public string YValue { get; set; }
The yAxis error bars value. See the series.errorBars.value option for a list of the supported value types.
public string YValueHandler { 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.