Kendo UI ChartWizardStateSettingsSeries TagHelper ChartWizardStateSettingsSeriesTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("series-item", ParentTag = "state-series", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("labels", new string[] { "stack" })]
[SuppressTagRendering]
public class ChartWizardStateSettingsSeriesTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChartWizardStateSettingsSeriesTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chartwizard name="chartwizard">
<state>
<state-series>
<series-item category-field="CategoryName"></series-item>
</state-series>
</state>
</kendo-chartwizard>
Child Tags
Constructors
Initializes a new instance of the ChartWizardStateSettingsSeriesTagHelper class.
public ChartWizardStateSettingsSeriesTagHelper()
Properties
The data item field which contains the category name or date.
public string CategoryField { get; set; }
The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..
public string Color { get; set; }
The series base color. The supported values are: CSS color string, including hex and rgb or function(point) - user-defined function that will be evaluated for each point. Returning undefined will assume the default series color..
public string ColorHandler { get; set; }
The array of data items which represent the series data. Can be set to :
- Array of objects.Each point is bound to the field specified via the series.field option.
- Array of numbers.Supported when the series.type option is set to "bar", "column", "pie", or "line".
- Array of arrays of numbers. Supported when the series.type option is set to "scatter".
- Scatter and scatter line series need arrays of two values - X value and Y value
public IEnumerable Data { get; set; }
The data item field which contains the series value. The field name should be a valid Javascript identifier and should contain only alphanumeric characters (or "$" or "_"), and may not start with a digit.
public string Field { get; set; }
The name of the chart series which is visible in the legend.
public string Name { get; set; }
A boolean value indicating if the series should be stacked. A string value is interpreted as series.stack.group.
[HtmlAttributeName("stack")]
public string StackValue { get; set; }
Specifies the series type.
public ChartWizardSeriesType? Type { 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.