Horizontal legend with custom position

6 posts, 1 answers
  1. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 21 May 2014 Link to this post

    Hi,

    How can I have the legend labels continue to have horizontal orientation and wrapping when using:

    legend: {
        position: "custom",
        offsetX: 30,
        offsetX: 200
    }

                    
    If the position is set to one of the other options, such as "bottom", the labels appear horizontally. But, they switch to vertical when using custom.
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 23 May 2014 Link to this post

    Hello Josh,

    You can do this with the Kendo UI Chart right now. But you can try to set offset for some of the horizontal legend positions. -=Example=-

    Regards,
    Hristo Germanov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Josh
    Josh avatar
    72 posts
    Member since:
    Jun 2013

    Posted 23 May 2014 in reply to Hristo Germanov Link to this post

    Hristo,

    Thanks for the advice.

    The main issue that we are trying to avoid is the space allocated to the legend, which causes the chart to shrink to accommodate it. So, to have 3 Donut charts on a page and have them always be equal size, we had to use position "custom" to have their size stay consistent.

    For example, see the grey space below the chart here:
    http://trykendoui.telerik.com/UJoS

    How can we fix this problem?

  5. Answer
    Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 23 May 2014 Link to this post

    Hi Josh,

    Now you can't fix this issue but with the next official release we will try to resolve this issue.

    I have updated your telerik points.

    Regards,
    Hristo Germanov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Gal
    Gal avatar
    48 posts
    Member since:
    Apr 2009

    Posted 03 Jan in reply to Hristo Germanov Link to this post

    Any news about this issue ? 
  7. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 06 Jan Link to this post

    Hi Gal,

    The issue with position: "custom" and orientation: "horizontal" has been already addressed. Take a look at this example.

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready