Kendo UI ChartWizardStateSettingsInitialSeries TagHelper ChartWizardStateSettingsInitialSeriesTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("initial-series-item", ParentTag = "initial-series", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("labels", new string[] { "stack" })]
[SuppressTagRendering]
public class ChartWizardStateSettingsInitialSeriesTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChartWizardStateSettingsInitialSeriesTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-chartwizard name="chartwizard">
<state>
<initial-series>
<initial-series-item category-field="CategoryName"></initial-series-item>
</initial-series>
</state>
</kendo-chartwizard>
Child Tags
Constructors
Initializes a new instance of the ChartWizardStateSettingsInitialSeriesTagHelper class.
public ChartWizardStateSettingsInitialSeriesTagHelper()
Properties
The data item field which contains the category name or date.
public string CategoryField { 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.