New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Kendo UI ChartSeriesLabelsToSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartSeriesLabelsToSettings

Inheritance: objectChartSeriesLabelsToSettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChartSeriesLabelsToSettings()

Properties

The background color of the to labels. Accepts a valid CSS color string, including hex and rgb.

C#
public string Background { get; set; }
C#
public ClientHandlerDescriptor BackgroundHandler { get; set; }

The border of the to labels.

C#
public ChartSeriesLabelsToBorderSettings Border { get; }

The text color of the to labels. Accepts a valid CSS color string, including hex and rgb.

C#
public string Color { get; set; }
C#
public ClientHandlerDescriptor ColorHandler { get; set; }

The font style of the to labels.

C#
public string Font { get; set; }
C#
public ClientHandlerDescriptor FontHandler { get; set; }

The format of the to labels. Uses kendo.format.

C#
public string Format { get; set; }
C#
public ClientHandlerDescriptor FormatHandler { get; set; }

The margin of the to labels. A numeric value will set all margins.

C#
public ChartSeriesLabelsToMarginSettings Margin { get; }

The padding of the to labels. A numeric value will set all paddings.

C#
public ChartSeriesLabelsToPaddingSettings Padding { get; }

Specifies the position of the "to" labels.

C#
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..

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
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.

C#
public bool? Visible { get; set; }
C#
public ClientHandlerDescriptor VisibleHandler { get; set; }

Methods

Serializes the settings to a Dictionary.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>