This is a migrated thread and some comments may be shown as answers.

Vertical Legend

4 Answers 51 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abubaker
Top achievements
Rank 1
Abubaker asked on 01 Oct 2014, 07:34 AM
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.

4 Answers, 1 is accepted

Sort by
0
Abubaker
Top achievements
Rank 1
answered on 01 Oct 2014, 08:03 AM
I meant was they are vertically displayed, and i want them to be horizontal.
0
Adrian
Telerik team
answered on 01 Oct 2014, 12:00 PM
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.

 
0
Abubaker
Top achievements
Rank 1
answered on 12 Oct 2014, 05:44 AM
Thank you for your support. And the solution that you gave worked like a charm.

Sorry for replying late.
0
Adrian
Telerik team
answered on 13 Oct 2014, 11:02 AM
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.

 
Tags
Chart
Asked by
Abubaker
Top achievements
Rank 1
Answers by
Abubaker
Top achievements
Rank 1
Adrian
Telerik team
Share this question
or