SeriesDefaults.labels.from
configurationThe chart series from label configuration.
The chart displays the series labels when the seriesDefaults.labels.visible option is set to
trueor when the seriesDefaults.labels.from.visible option is set totrue.
The background color of the from labels. Accepts a valid CSS color string, including hex and rgb.
The border of the from labels.
The text color of the from labels. Accepts a valid CSS color string, including hex and rgb.
The font style of the from labels.
Default: "12px Arial,Helvetica,sans-serif"
The format of the from labels. Uses kendo.format.
Default: "{0}"
seriesDefaults.labels.from.margin
Number|ObjectThe margin of the from labels. A numeric value will set all margins.
Default: 0
seriesDefaults.labels.from.padding
Number|ObjectThe padding of the from labels. A numeric value will set all paddings.
Default: 0
seriesDefaults.labels.from.template
String|FunctionThe template which renders the chart series from label.
The fields which can be used in the template are:
- category - the category name. Available for area, bar, column, bubble, donut, funnel, pyramid, line and pie series.
- dataItem - the original data item used to construct the point. Will be null if binding to array.
- percentage - the point value represented as a percentage value. Available for donut, funnel, pyramid and pie series.
- series - the data series
- value - the point value. Can be a number or object containing each bound field.
- 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.
The text can be split into multiple lines by using line feed characters ("\n").
If set to true the chart will display the series from labels. By default chart series from labels are not displayed.
Default: false