Vertical Legend

5 posts, 0 answers
  1. Abubaker
    Abubaker avatar
    7 posts
    Member since:
    Sep 2014

    Posted 01 Oct 2014 Link to this post

    I am using the legend to show at the bottom but i want it to line up vertically, not horizontally. Is there a way i can do that.
  2. Abubaker
    Abubaker avatar
    7 posts
    Member since:
    Sep 2014

    Posted 01 Oct 2014 Link to this post

    I meant was they are vertically displayed, and i want them to be horizontal.
  3. DevCraft banner
  4. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 01 Oct 2014 Link to this post

    Hello Abubaker,

    Thank you for contacting us.

    To change the legend's orientation you should set the orientation property of legend's container stack. Please consider the code snippet below:
    chart.legend.container.stack.orientation = TKStackLayoutOrientationHorizontal;

    I hope this helps. If you need further assistance I will be glad to help.

    Regards,
    Adrian
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. Abubaker
    Abubaker avatar
    7 posts
    Member since:
    Sep 2014

    Posted 12 Oct 2014 Link to this post

    Thank you for your support. And the solution that you gave worked like a charm.

    Sorry for replying late.
  6. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 13 Oct 2014 Link to this post

    Hello Abubaker,

    Thank you for this update.

    I am glad to hear that the issue is solved. Do not hesitate to contact us in case you need further assistance.

    Regards,
    Adrian
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner