LabelsAppearanceBase
Base class providing common label appearance configuration (format, text style, colors, border, client template and custom visual) for concrete chart label appearance implementations (series, axis, etc.). Handles serialization of the shared settings.
Definition
Namespace:Telerik.Web.UI.HtmlChart.PlotArea
Assembly:Telerik.Web.UI.dll
Syntax:
public class LabelsAppearanceBase : AppearanceBase, IDefaultCheck
Inheritance: objectObjectWithStateAppearanceBaseLabelsAppearanceBase
Derived Classes:
Implements:
Inherited Members
Constructors
Properties
Specifies background color
[TypeConverter(typeof(ColorConverter))]
public Color BackgroundColor { get; set; }
Specifies the border settings of the outliers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public LabelBorderAppearance Border { get; }
A way to define a client-side template for the labels appearance.
[Browsable(true)]
[Bindable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public string ClientTemplate { get; set; }
Specifies text color of the labels
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }
Get/Set the data format string of the labels
public string DataFormatString { get; set; }
Defines the text style settings
[PersistenceMode(PersistenceMode.InnerProperty)]
public TextStyle TextStyle { get; }
A function that can be used to create a custom visual for the labels. The available argument fields are: text - the label text; rect - the kendo.geometry.Rect that defines where the visual should be rendered; options - the label options; createVisual - a function that can be used to get the default visual;
public string Visual { get; set; }