ChartSeriesTagHelper
Example
Razor
<series-item>
<aggregate></aggregate>
<border />
<connectors />
<error-bars></error-bars>
<extremes></extremes>
<focus-highlight></focus-highlight>
<highlight></highlight>
<labels></labels>
<legend-item></legend-item>
<line />
<markers></markers>
<mean />
<median />
<negative-values />
<notes></notes>
<outliers></outliers>
<overlay />
<pattern />
<stack />
<target></target>
<tooltip></tooltip>
<trendline></trendline>
<whiskers />
</series-item>
ChildTags
Attributes
Attribute | Type | Description |
---|---|---|
name | String | The name of the chart series which is visible in the legend. |
aggregate | ChartSeriesAggregate | Specifies the preferred series aggregate. |
aggregate-handler | String | Specifies the preferred series aggregate. |
auto-fit | Boolean | If set to true, the Chart automatically scales down to fit the content area. Applicable for the Pie and Donut series. |
axis | String | The name of the value axis to use. |
category-axis | String | The name of the category axis to use for the series.The first axis will be used if no categoryAxis is specified. |
category-field | String | The data item field which contains the category name or date. |
close-field | String | The data field containing the close value. |
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.. |
color-field | String | The data item field which contains the series color. |
color-handler | 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.. |
current-field | String | The data item field containing the current value. |
dash-type | DashType | The dash type of line chart.The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of a repeating pattern of long-dash; "longDashDot" - a line consisting of a repeating pattern of long-dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot or "solid" - a solid line. |
data | IEnumerable | |
down-color | String | The series color when the open value is greater than the close value. |
down-color-field | String | The data field containing the color applied when the open value is greater than the close value. |
down-color-handler | String | The series color when the open value is greater than the close value. |
drilldown-field | String | The data field which contains the value to use to drill down into detailed data for the point. |
drilldown-series-factory | String | A function that creates the drilldown series for a given point.The function should accept a single parameter, the point drilldownField value. The function should return a series configuration object or a Promise that resolves to one. |
dynamic-height | Boolean | When set to false all segments become with the same height, otherwise the height of each segment is based on its value. |
dynamic-slope | Boolean | When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value The last element is always created like a rectangle since there is no following element. |
error-high-field | String | The data item field which contains the series.errorBars high value. |
error-low-field | String | The data item field which contains the series.errorBars low value. |
explode-field | String | The data item field which contains a boolean value indicating whether the sector is exploded. |
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. |
for | String | The name of the parent series of the trendline. |
from-field | String | The data item field which contains the series from value. |
gap | Double | The distance between categories expressed as a percentage of the bar width.See the related spacing setting. |
high-field | String | The data field containing the high value. |
hole-size | Double | The radius of the donut hole in pixels. |
lower-field | String | The data item field which contains the series lower value. |
low-field | String | The data field containing the low value. |
margin | Double | The margin around each donut series (ring). A numeric value will set all margins. |
max-size | Double | The maximum size of the chart bubble series marker. |
mean-field | String | The data item field which contains the series mean value. |
median-field | String | The data item field which contains the series median value. |
min-size | Double | The minimum size of the chart bubble series marker. |
missing-values | ChartSeriesMissingValues | Specifies the behavior for handling missing values in the series. |
neck-ratio | Double | specifies the ratio top-base/bottom-base of the whole chart. neckRatio set to three means the top base is three times smaller than the bottom base. |
negative-color | String | The color to use for bar, column or waterfall series with negative values. Accepts a valid CSS color string, including hex and rgb. |
note-text-field | String | The data item field which contains the series note text. |
opacity | Double | The series opacity. By default the series are opaque. |
open-field | String | The data field containing the open value. |
outliers-field | String | The data item field which contains the series outliers value. |
padding | Double | The padding around the chart (equal on all sides). |
pattern-field | String | The data item field which contains the series pattern configuration for individual chart segments. |
q1-field | String | The data item field which contains the series q1 value. |
q3-field | String | The data item field which contains the series q3 value. |
segment-spacing | Double | The space in pixels between the different segments of the funnel and pyramid charts. |
size | Double | The or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series. |
size-field | String | The data field containing the bubble size value. |
spacing | Double | The distance between series points within a category. Expressed as a percentage of the bar width.See the related gap setting. |
start-angle | Double | The start angle (degrees) of the first donut or pie segment.Angles increase clockwise and zero is to the left. Negative values are acceptable. |
style | ChartSeriesStyle | Specifies the preferred rendering style. |
summary-field | String | The data item field which contains the summary type for waterfall series. Summary columns are optional and can be one of two types: "runningTotal" - Displays the sum of all items since the last "runningTotal" point. or "total" - Displays the sum of all previous items.. |
target-field | String | The data item field containing the target value. |
to-field | String | The data item field which contains the series to value. |
type | ChartSeriesType | The type of the series. |
upper-field | String | The data item field which contains the series upper value. |
visible | Boolean | Sets the visible property of a chart series |
visible-in-legend | Boolean | A value indicating whether to show the point category name (for funnel, pyramid, donut and pie series) or series name (for other available series types) in the legend. |
visible-in-legend-field | String | The data item field which indicates whether to show the point category name in the legend. |
visual | String | A function that can be used to create a custom visual for the points. Applicable for bar, column, pie, donut, funnel, rangeBar, rangeColumn and waterfall series. The available argument fields are: rect - the kendo.geometry.Rect that defines where the visual should be rendered.; options - the point options.; createVisual - a function that can be used to get the default visual.; category - the point category.; dataItem - the point dataItem.; value - the point value.; stackValue - the cumulative point value on the stack. Available only for stackable series.; sender - the chart instance.; series - the point series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series.; total - the sum of all previous series values. Available for waterfall series.; radius - the segment radius. Available for donut and pie series.; innerRadius - the segment inner radius. Available for donut series.; startAngle - the segment start angle. Available for donut and pie series.; endAngle - the segment end angle. Available for donut and pie series.; center - the segment center point. Available for donut and pie series. or points - the segment points. Available for funnel series.. |
width | Double | The line width. |
x-axis | String | The name of the X axis to use.For polar series the xAxis range is expressed in degrees. |
x-error-high-field | String | The data item field which contains the series.errorBars xAxis high value. |
x-error-low-field | String | The data item field which contains the series.errorBars xAxis low value. |
x-field | String | The data item field containing the X value. |
y-axis | String | The name of the Y axis to use.** Available for bubble, scatter, scatterLine and polar series. ** |
y-error-high-field | String | The data item field which contains the series.errorBars yAxis high value. |
y-error-low-field | String | The data item field which contains the series.errorBars yAxis low value. |
y-field | String | The data item field containing the Y value. |
z-index | Double | An optional Z-index that can be used to change the default stacking order of series.The series with the highest Z-index will be placed on top.Series with no Z-index will use the default stacking order based on series type. For example line series will be on top with bar and area following below. |