MindFusion.Charting Programmer's Guide

Chart.LegendPosition Property

See Also
 





Gets or sets the position of the chart legend.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public Position LegendPosition { get; set; }

Visual Basic  Copy Code

Public Property LegendPosition As Position

 Property Value

One of the Position Enumeration values.

 Remarks

The property specifies the position of the chart legend at the chart's plot area. The alignment of the legend is set with LegendAlignment.

Legends are drawn when the LegendLabels property contains at least one list item with a label.

The labels can be drawn with an offset to the axes / plot area, at which it is drawn. Use LegendOffset to set the offset.

Default value for the LegendPosition property is Position.Right.

 See Also