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

Kendo UI ChartTitleSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectChartTitleSettings<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 ChartTitleSettings()

Properties

Specifies the text alignment.

C#
public ChartTextAlignment? 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 ChartTitleBorderSettings<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 accessible description of the Chart. The description is announced by screen readers when the Chart is focused.

C#
public string Description { 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 ChartTitleMarginSettings<T> Margin { get; }

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

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

Specifies the title position.

C#
public ChartTitlePosition? Position { get; set; }

The text of the chart 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

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>