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

Kendo UI ChartLegendTitleSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class ChartLegendTitleSettings<T> where T : class

Inheritance: objectChartLegendTitleSettings<T>

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

Constructors

C#
public ChartLegendTitleSettings()

Properties

The alignment of the title. "center" - the text is aligned to the middle.; "left" - the text is aligned to the left. or "right" - the text is aligned to the right..

C#
public string Align { get; set; }

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

C#
public string Background { get; set; }

The border of the title.

C#
public ChartLegendTitleBorderSettings<T> Border { get; }

Chart member.

C#
public Chart<T> Chart { get; set; }

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

C#
public string Color { get; set; }

The font of the title.

C#
public string Font { get; set; }

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

C#
public ChartLegendTitleMarginSettings<T> Margin { get; }

The padding of the title. A numeric value will set all margins.

C#
public ChartLegendTitlePaddingSettings<T> Padding { get; }

The position of the title. "bottom" - the title is positioned on the bottom. or "top" - the title is positioned on the top..

C#
public string Position { get; set; }

The text of the legend title. You can also set the text directly for a title with default options.

C#
public string Text { get; set; }

If set to true the chart will display the title. By default the title will be displayed.

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

Methods

Serialize current instance to 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>