show legend on chart top of right corner of graph?

2 posts, 1 answers
  1. Answer
    Mark
    Mark avatar
    17 posts
    Member since:
    Feb 2010

    Posted 02 Apr 2013 Link to this post

    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?
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 02 Apr 2013 Link to this post

    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!
Back to Top