FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.6 Assembly / C1.Win.FlexReport.Chart Namespace / ChartLegend Class / Orientation Property

In This Topic
    Orientation Property (ChartLegend)
    In This Topic
    Gets or sets the orientation of the legend entries.
    Syntax
    'Declaration
     
    Public Property Orientation As ChartLegendOrientation
    public ChartLegendOrientation Orientation {get; set;}
    Remarks

    The legend entries can be oriented in a vertical or horizontal fashion.

    Vertical orientation indicates that legend entries will stack vertically as the legend height permits. If the legend height cannot contain all of the entries and the legend is allowed to size itself, then additional columns of stacked entries will be added to the legend.

    Horizontal orientation indicates that legend entries will be created side by side as legend width permits. If the legend width cannot contain all of the entries and the legend is allowed to size itself, then additional rows of entries will be added to the legend.

    Auto orientation automatically selects an appropriate orientation based upon the legend Compass property. For east and west Compass values, Vertical orientation is used. For north and south Compass values, Horizontal orientation is used.

    See Also