Kendo UI ChartSeriesLabelsToSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ChartSeriesLabelsToSettings
Inheritance: objectChartSeriesLabelsToSettings
Inherited Members
Constructors
public ChartSeriesLabelsToSettings()
Properties
The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public string Background { get; set; }
public ClientHandlerDescriptor BackgroundHandler { get; set; }
The border of the to labels.
public ChartSeriesLabelsToBorderSettings Border { get; }
The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.
public string Color { get; set; }
public ClientHandlerDescriptor ColorHandler { get; set; }
public ClientHandlerDescriptor FontHandler { get; set; }
public ClientHandlerDescriptor FormatHandler { get; set; }
The margin of the to labels. A numeric value will set all margins.
public ChartSeriesLabelsToMarginSettings Margin { get; }
The padding of the to labels. A numeric value will set all paddings.
public ChartSeriesLabelsToPaddingSettings Padding { get; }
Specifies the position of the "to" labels.
public ChartSeriesLabelsPosition? Position { get; set; }
The template which renders the chart series to label.The fields which can be used in the template are: category - the category name.; dataItem - the original data item used to construct the point. Will be null if binding to array.; series - the data series or value - the point value. An object containing from and to values..
public string Template { get; set; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
If set to true the chart will display the series to labels. By default chart series to labels are not displayed.
public bool? Visible { get; set; }
public ClientHandlerDescriptor VisibleHandler { get; set; }
Methods
Serializes the settings to a Dictionary.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()