TextStyle
Class
Configures font, color, margin, and padding for chart text elements. Supports serialization for client-side rendering.
Definition
Namespace:Telerik.Web.UI.HtmlChart.PlotArea
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class TextStyle : TextStyleBase, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerTextStyleBaseTextStyle
Implements:
Inherited Members
Constructors
Properties
Gets or sets a value that indicates whether the font is bold.
C#
public bool Bold { get; set; }
Gets or sets the text color.
C#
[TypeConverter(typeof(ColorConverter))]
public Color Color { get; set; }
Gets or sets the font family.
C#
public string FontFamily { get; set; }
Gets or sets a value that indicates whether the font is italic.
C#
public bool Italic { get; set; }