ComponentOne Chart for WPF and Silverlight
Chart for WPF and Silverlight / Chart Features / Chart Legend / Changing the Legend Orientation and Position
In This Topic
    Changing the Legend Orientation and Position
    In This Topic

    To orient the chart legend horizontally and at the Bottom Center of the chart control, use the following code:

    C#
    Copy Code
    C1ChartLegend.Orientation = Horizontal;
    C1ChartLegend.Position = C1.WPF.C1Chart.LegendPosition.BottomCenter;
    

     

    See Also