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

show legend on chart top of right corner of graph?

1 Answer 218 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 02 Apr 2013, 06:11 AM
currently my legend shows off the end of the graph, i need to save space and have it on top right corner

is this possible?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 02 Apr 2013, 12:32 PM
Hi Mark,

In order to achieve this you can set position: "custom" to the legend and specify the offsetX. For example: 
$("#chart").kendoChart({
  //....
 legend: {
     visible: true,
     position: "custom",
     offsetX: 600
  }
});

Regards,

Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Mark
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or