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

Defines the Chart title settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartTitle

Inheritance: objectChartTitle

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

Constructors

Initializes a new instance of the ChartTitle class.

C#
public ChartTitle()

Properties

Gets or sets the title text alignment.

C#
public ChartTextAlignment? Align { get; set; }

The default value is Center

Gets or sets the title background color

C#
public string Background { get; set; }

Gets or sets the legend border

C#
public ChartElementBorder Border { get; set; }

Gets or sets the title color

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; }

Gets or sets the title font.

C#
public string Font { get; set; }
Property Value:

Specify a font in CSS format. For example "16px Arial,Helvetica,sans-serif".

Gets or sets the title margin

C#
public ChartSpacing Margin { get; set; }

Gets or sets the title padding

C#
public ChartSpacing Padding { get; set; }

Gets or sets the title position.

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

The default value is Top

Gets or sets the title text

C#
public string Text { get; set; }

Gets or sets a value indicating if the title is visible

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

Methods

Creates a new ChartTitleSerializer.

C#
public IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartTitleSerializer instance.