ChartWizardStateSettingsInitialSeriesTagHelper

Example

Razor
<initial-series-item>
    <labels></labels>
    <stack />
</initial-series-item>

ChildTags

Attributes

AttributeTypeDescription
nameStringThe name of the chart series which is visible in the legend.
category-fieldStringThe data item field which contains the category name or date.
colorStringThe series base color. The supported values are:
dataIEnumerableThe 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
fieldStringThe 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.
typeChartWizardSeriesTypeSpecifies the series type.
widthDoubleThe line width.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support