ChartLabels
The base class for Chart labels.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public abstract class ChartLabels : IChartLabels
Inheritance: objectChartLabels
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartLabels class.
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..
public string AriaTemplate { get; set; }
Implements:
The handler that returns the template used for AriaTemplate
public string AriaTemplateHandler { get; set; }
Implements:
The id of the script element used for AriaTemplate
public string AriaTemplateId { get; set; }
Implements:
Gets or sets the label background.
public string Background { get; set; }
The label background.
Implements:
Gets or sets the label border.
public ChartElementBorder Border { get; set; }
The label border.
Implements:
Gets or sets the label color.
public string Color { get; set; }
The label color.
Implements:
Gets or sets a Function that returns the JavaScript handler for the labels color.
public ClientHandlerDescriptor ColorHandler { get; set; }
The Function.
Implements:
Gets or sets the label font.
public string Font { get; set; }
Specify a font in CSS format. For example "12px Arial,Helvetica,sans-serif".
Implements:
Gets or sets the label format.
public string Format { get; set; }
The label format.
Implements:
Gets or sets the label margin.
public ChartSpacing Margin { get; set; }
The label margin.
Implements:
Gets or sets the label opacity.
public double? Opacity { get; set; }
The label opacity.
Implements:
Gets or sets the label padding.
public ChartSpacing Padding { get; set; }
The label padding.
Implements:
Gets or sets the label rotation.
public double? Rotation { get; set; }
The label opacity.
Implements:
Gets or sets the label template.
public string Template { get; set; }
The label template.
Implements:
Gets or sets the label template handler.
public string TemplateHandler { get; set; }
The label template handler.
Implements:
Gets or sets a value indicating if the label is visible
public bool? Visible { get; set; }
Implements:
Gets or sets the series visible function
public ClientHandlerDescriptor VisibleHandler { get; set; }
Implements:
Gets or sets the label visual handler.
public ClientHandlerDescriptor Visual { get; set; }
The label visual handler.
Implements:
Methods
Creates a new IChartSerializer.
public abstract IChartSerializer CreateSerializer()
The IChartSerializer instance.
Implements: