LegendModel.Direction Property
Gets or sets the value of the Legend.Direction within the model.
Namespace: DevExpress.XtraCharts.Designer
Assembly: DevExpress.XtraCharts.v19.1.Wizard.dll
Declaration
[PropertyForOptions("Layout")]
[LocalizableCategory(DesignerCategories.Behavior)]
public LegendDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
LegendDirection | The legend direction. |
Available values:
Name | Description |
---|---|
TopToBottom | Speifies that legend entries are positioned vertically from the top to the bottom of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower the index that a series object has in the ChartControl.Series collection, the higher position its legend entry has within the legend. |
BottomToTop | Specifies that legend entries are positioned vertically from the bottom to the top of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index that a series object has in the ChartControl.Series collection, the lower position its legend entry has within the legend. |
LeftToRight | Speifies that legend entries are positioned horizontally from the left to the right of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index that a series object has in the ChartControl.Series collection, the closer to the left bound its legend entry is positioned within the legend. |
RightToLeft | Speifies that legend entries are positioned horizontally from the right to the left of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index a series object has in the ChartControl.Series collection, the closer to the right bound its legend entry is positioned within the legend. |