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

Format legend labels

1 Answer 89 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 12 Feb 2013, 11:38 AM
Hello,

 I have a donut chart and legend set up: 

            legend: {
                position: "bottom",
                labels: {
                    template: "#= dataItem.jobType # (#= dataItem.taskPercentage #%)"
                }

Is there a way to display the labels in a table or similar structure? at the moment they look messy because their position isn't fixed (it's based on label name length which results in them appearing jagged)

Many thanks,
Mike

1 Answer, 1 is accepted

Sort by
0
Accepted
Iliana Dyankova
Telerik team
answered on 14 Feb 2013, 09:44 AM
Hi Mike,

I am afraid what you would like to achieve is not supported in Kendo UI Chart. As a possible workaround I can suggest to hide the default legend and create a custom <div> element which you can configure to look like a legend.

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
Michael
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or