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

Horizontal legend with custom position

5 Answers 447 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 21 May 2014, 04:44 PM
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.

5 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 23 May 2014, 07:26 AM
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!
 
0
Josh
Top achievements
Rank 1
answered on 23 May 2014, 02:03 PM
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?

0
Accepted
Hristo Germanov
Telerik team
answered on 23 May 2014, 02:41 PM
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!
 
0
Gal
Top achievements
Rank 2
answered on 03 Jan 2016, 07:29 PM
Any news about this issue ? 
0
Iliana Dyankova
Telerik team
answered on 06 Jan 2016, 07:52 AM
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!
 
Tags
Charts
Asked by
Josh
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Josh
Top achievements
Rank 1
Gal
Top achievements
Rank 2
Iliana Dyankova
Telerik team
Share this question
or