Intersoft ClientUI Documentation
Legend Class
Members 



Represents an Class used by a Series for Legend of a Chart.
Object Model
Legend ClassISFramework ClassStyleSelector ClassDataTemplateSelector ClassISelection InterfaceISeriesHost Interface
Syntax
<StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.LegendItem)>
<StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)>
Public Class Legend 
   Inherits Intersoft.Client.Framework.ISHeaderedItemsControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRequireSeriesHost 
Dim instance As Legend
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.LegendItem)]
[StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)]
public class Legend : Intersoft.Client.Framework.ISHeaderedItemsControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRequireSeriesHost  
[StyleTypedPropertyAttribute(Property="ItemContainerStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.LegendItem)]
[StyleTypedPropertyAttribute(Property="TitleStyle", StyleTargetType=Intersoft.Client.UI.DataVisualization.Title)]
public ref class Legend : public Intersoft.Client.Framework.ISHeaderedItemsControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFrameworkIntersoft.Client.Framework.IItemsControl, Intersoft.Client.Framework.ILicensing, Intersoft.Client.Framework.ISelectionItemIRequireSeriesHost  
Remarks

Legend usually contains a list of the series appearing in the chart and an example of their appearance, which by default appear as colorful rectangle. You can also change the appearance using LegendItemStyle property, This information allows the data from each variable to be identified in the chart.

Depending on the type of chart, the legend keys represent different groups of data. For instances, for a LineSeries , BarSeries or ColumnSeries, each legend key represents a single data series. On the other hand, a PieSeries or DoughnutSeries, each Legend key represents only a portion of one data series.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  Intersoft.Client.Framework.HeaderedItemsControl
                     Intersoft.Client.Framework.ISHeaderedItemsControl
                        Intersoft.Client.UI.DataVisualization.Legend

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Legend Members
Intersoft.Client.UI.DataVisualization Namespace

Send Feedback