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

The base class for Chart labels.

Definition

Constructors

Initializes a new instance of the ChartLabels class.

C#
protected ChartLabels()

Properties

The template which renders the ARIA label for the series labels.The fields which can be used in the template are: category - the category name. Available for area, bar, column, bubble, donut, line and pie series.; dataItem - the original data item used to construct the point. Will be null if binding to array.; percentage - the point value represented as a percentage value. Available only for 100% stacked charts.; series - the data series or value - the point value. Can be a number or object containing each bound field..

C#
public string AriaTemplate { get; set; }

Implements: IChartLabels.AriaTemplate

The handler that returns the template used for AriaTemplate

C#
public string AriaTemplateHandler { get; set; }

Implements: IChartLabels.AriaTemplateHandler

The id of the script element used for AriaTemplate

C#
public string AriaTemplateId { get; set; }

Implements: IChartLabels.AriaTemplateId

Gets or sets the label background.

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

The label background.

Implements: IChartLabels.Background

Gets or sets the label border.

C#
public ChartElementBorder Border { get; set; }
Property Value:

The label border.

Implements: IChartLabels.Border

Gets or sets the label color.

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

The label color.

Implements: IChartLabels.Color

Gets or sets a Function that returns the JavaScript handler for the labels color.

C#
public ClientHandlerDescriptor ColorHandler { get; set; }
Property Value:

The Function.

Implements: IChartLabels.ColorHandler

Gets or sets the label font.

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

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

Implements: IChartLabels.Font

Gets or sets the label format.

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

The label format.

Implements: IChartLabels.Format

Gets or sets the label margin.

C#
public ChartSpacing Margin { get; set; }
Property Value:

The label margin.

Implements: IChartLabels.Margin

Gets or sets the label opacity.

C#
public double? Opacity { get; set; }
Property Value:

The label opacity.

Implements: IChartLabels.Opacity

Gets or sets the label padding.

C#
public ChartSpacing Padding { get; set; }
Property Value:

The label padding.

Implements: IChartLabels.Padding

Gets or sets the label rotation.

C#
public double? Rotation { get; set; }
Property Value:

The label opacity.

Implements: IChartLabels.Rotation

Gets or sets the label template.

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

The label template.

Implements: IChartLabels.Template

Gets or sets the label template handler.

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

The label template handler.

Implements: IChartLabels.TemplateHandler

Gets or sets a value indicating if the label is visible

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

Implements: IChartLabels.Visible

Gets or sets the series visible function

C#
public ClientHandlerDescriptor VisibleHandler { get; set; }

Implements: IChartLabels.VisibleHandler

Gets or sets the label visual handler.

C#
public ClientHandlerDescriptor Visual { get; set; }
Property Value:

The label visual handler.

Implements: IChartLabels.Visual

Methods

Creates a new IChartSerializer.

C#
public abstract IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The IChartSerializer instance.

Implements: IChartLabels.CreateSerializer()