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

Represents a single item in the chart legend, allowing customization of its visual appearance.

Definition

Namespace:Telerik.Web.UI.HtmlChart

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class LegendItem : ObjectWithState

Inheritance: objectObjectWithStateLegendItem

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

Constructors

C#
public LegendItem(StateBag OwnerStateBag)
Parameters:OwnerStateBagStateBag

Properties

A function that can be used to create a custom visual for the legend items. The available argument fields are: options - the item options. createVisual - a function that can be used to get the default visual.

C#
public string Visual { get; set; }