Position the legend

Thread is closed for posting
4 posts, 0 answers
  1. Ryan
    Ryan avatar
    56 posts
    Member since:
    Apr 2012

    Posted 18 Sep 2012 Link to this post

    Haii,

    I want to position the legend to the bottom of the radchart. How do I do this.

    RT
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 18 Sep 2012 Link to this post

    Hi Ryan,

    Try the following code to position the Legend to the bottom of the RadChart.

    ASPX:
    <telerik:RadChart ID="RadChart1" runat="server">
        ......
      <Legend Appearance-Position-AlignedPosition="Bottom" ></Legend>
    </telerik:RadChart>

    Hope this helps.

    Regards,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    1 posts
    Member since:
    Aug 2010

    Posted 08 Jul 2013 Link to this post

    This doesn't appear to be resolved in most the skins. For instance I use default, Telerik, Office2007 and all do not apply properly. Code is below

    <telerik:RadChart runat="server" ID="chtSecuritySales_new"  Legend-Appearance-Position-AlignedPosition="Bottom"
                    ChartImageFormat="Bmp" AutoLayout="True" EnableTheming="True" Width="380"
                    onprerender="chtSecuritySales_new_PreRender" >
                </telerik:RadChart>

    Can you suggest how to get legend at bottom or when this will be resolved?
  5. Petar Kirov
    Admin
    Petar Kirov avatar
    425 posts

    Posted 11 Jul 2013 Link to this post

    Hi Matt,

    I am not sure why you are experiencing problems with this. I have created a test project and setting the Legend AlignedPosition to Bottom works with both the Telerik theme and with the Office2007 as expected.

    I have attached screenshots of this and my test project for reference.

    I hope this helps.
     
    Regards,
    Petar Kirov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top