ChartSeriesTagHelper

Example

Razor
<series-item>
    <aggregate></aggregate>
    <border />
    <connectors />
    <error-bars></error-bars>
    <extremes></extremes>
    <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

AttributeTypeDescription
nameStringThe name of the chart series which is visible in the legend.
aggregateChartSeriesAggregateSpecifies the preferred series aggregate.
aggregate-handlerStringSpecifies the preferred series aggregate.
auto-fitBooleanIf set to true, the Chart automatically scales down to fit the content area. Applicable for the Pie and Donut series.
axisStringThe name of the value axis to use.
category-axisStringThe name of the category axis to use for the series.The first axis will be used if no categoryAxis is specified.
category-fieldStringThe data item field which contains the category name or date.
close-fieldStringThe data field containing the close value.
colorStringThe 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-fieldStringThe data item field which contains the series color.
color-handlerStringThe 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-fieldStringThe data item field containing the current value.
dash-typeDashTypeThe 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.
dataIEnumerable
down-colorStringThe series color when the open value is greater than the close value.
down-color-fieldStringThe data field containing the color applied when the open value is greater than the close value.
down-color-handlerStringThe series color when the open value is greater than the close value.
drilldown-fieldStringThe data field which contains the value to use to drill down into detailed data for the point.
drilldown-series-factoryStringA 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-heightBooleanWhen set to false all segments become with the same height, otherwise the height of each segment is based on its value.
dynamic-slopeBooleanWhen 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-fieldStringThe data item field which contains the series.errorBars high value.
error-low-fieldStringThe data item field which contains the series.errorBars low value.
explode-fieldStringThe data item field which contains a boolean value indicating whether the sector is exploded.
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.
forStringThe name of the parent series of the trendline.
from-fieldStringThe data item field which contains the series from value.
gapDoubleThe distance between categories expressed as a percentage of the bar width.See the related spacing setting.
high-fieldStringThe data field containing the high value.
hole-sizeDoubleThe radius of the donut hole in pixels.
lower-fieldStringThe data item field which contains the series lower value.
low-fieldStringThe data field containing the low value.
marginDoubleThe margin around each donut series (ring). A numeric value will set all margins.
max-sizeDoubleThe maximum size of the chart bubble series marker.
mean-fieldStringThe data item field which contains the series mean value.
median-fieldStringThe data item field which contains the series median value.
min-sizeDoubleThe minimum size of the chart bubble series marker.
missing-valuesChartSeriesMissingValuesSpecifies the behavior for handling missing values in the series.
neck-ratioDoublespecifies 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-colorStringThe color to use for bar, column or waterfall series with negative values. Accepts a valid CSS color string, including hex and rgb.
note-text-fieldStringThe data item field which contains the series note text.
opacityDoubleThe series opacity. By default the series are opaque.
open-fieldStringThe data field containing the open value.
outliers-fieldStringThe data item field which contains the series outliers value.
paddingDoubleThe padding around the chart (equal on all sides).
pattern-fieldStringThe data item field which contains the series pattern configuration for individual chart segments. The PatternField option is supported when the series type is set to "pie", "donut", "funnel", "heatmap", or "pyramid".
q1-fieldStringThe data item field which contains the series q1 value.
q3-fieldStringThe data item field which contains the series q3 value.
segment-spacingDoubleThe space in pixels between the different segments of the funnel and pyramid charts.
sizeDoubleThe or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series.
size-fieldStringThe data field containing the bubble size value.
spacingDoubleThe distance between series points within a category. Expressed as a percentage of the bar width.See the related gap setting.
start-angleDoubleThe start angle (degrees) of the first donut or pie segment.Angles increase clockwise and zero is to the left. Negative values are acceptable.
styleChartSeriesStyleSpecifies the preferred rendering style.
summary-fieldStringThe 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-fieldStringThe data item field containing the target value.
to-fieldStringThe data item field which contains the series to value.
typeChartSeriesTypeThe type of the series.
upper-fieldStringThe data item field which contains the series upper value.
visibleBooleanSets the visible property of a chart series
visible-in-legendBooleanA 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-fieldStringThe data item field which indicates whether to show the point category name in the legend.
visualStringA 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..
widthDoubleThe line width.
x-axisStringThe name of the X axis to use.For polar series the xAxis range is expressed in degrees.
x-error-high-fieldStringThe data item field which contains the series.errorBars xAxis high value.
x-error-low-fieldStringThe data item field which contains the series.errorBars xAxis low value.
x-fieldStringThe data item field containing the X value.
y-axisStringThe name of the Y axis to use.** Available for bubble, scatter, scatterLine and polar series. **
y-error-high-fieldStringThe data item field which contains the series.errorBars yAxis high value.
y-error-low-fieldStringThe data item field which contains the series.errorBars yAxis low value.
y-fieldStringThe data item field containing the Y value.
z-indexDoubleAn 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.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support