ChartWizardStateSettingsInitialSeriesTagHelper
Example
Razor
<initial-series-item>
<labels></labels>
<stack />
</initial-series-item>
ChildTags
Tag Name | Details |
---|---|
labels | ChartWizardStateInitialSeriesLabelsSettingsTagHelper |
stack | ChartWizardStateInitialSeriesStackSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
name | String | The name of the chart series which is visible in the legend. |
category-field | String | The data item field which contains the category name or date. |
color | String | 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.. |
data | IEnumerable | 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 |
field | String | 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. |
type | ChartWizardSeriesType | Specifies the series type. |
width | Double | The line width. |