[]
        
(Showing Draft Content)

C1.WPF.C1Chart.C1ChartLegend

C1ChartLegend Class

Represents the chart legend.

Namespace: C1.WPF.C1Chart
Assembly: C1.WPF.C1Chart.4.6.2.dll
Syntax
public class C1ChartLegend : ItemsControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IContainItemStorage

Constructors

Name Description
C1ChartLegend()

Initializes a new instance of Legend class.

Fields

Name Description
OrientationProperty

Identifies the Orientation dependency property.

OverlapChartProperty

Identifies the OverlapChart dependency property.

PositionProperty

Identifies the Position dependency property.

TitleProperty

Identifies the Title dependency property.

Properties

Name Description
Orientation

Gets or sets the layout orientation for the legend.

OverlapChart

Gets or sets the value which indicates whether the legend can overlap with the chart.

Position

Gets or sets the legend position. The position is relative to the corresponding chart.

Title

Gets or sets the legend title.

Methods

Name Description
ArrangeOverride(Size)

Called to arrange and size the content of a C1ChartLegend object.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Invoked when Items property changes.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever dependency property has been updated.

OnVisualParentChanged(DependencyObject)

Invoked when visual parent was changed.