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

Fixed size for pie chart legend and plotArea

3 Answers 206 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Paulo
Top achievements
Rank 1
Paulo asked on 27 Sep 2013, 04:18 PM
I'd like to set the legend and plotArea on multiple pie charts to fixed width and height to maintain visual consistency for a client's dashboard app.  There doesn't seem to be any legend.width, legend.height, plotArea.width, or plotArea.height properties, however. Is there a workaround for this which can let me set fixed legend and plotArea sizes consistently? 

3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 30 Sep 2013, 10:36 AM
Hello Paulo,

Could you please give me more information about your current scenario? Why you need a fixed plotArea/legend width/height?

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
JX
Top achievements
Rank 1
answered on 22 Oct 2013, 02:11 AM
I also meet this problem. For our bar chart, sometimes the category number is big, e.g., 100, in this scenario, the legend area mess up and the plot area disappears.
Could Kendo control the size of legend, for example, give a sroll bar to show legend?
0
Iliana Dyankova
Telerik team
answered on 23 Oct 2013, 02:07 PM
Hi JX,

I already replied to the same question in your other thread, however I am pasting my reply here too:
 
I am not quite sure what causes the issue in your application. Is it possible to provide a small runnable example which demonstrates your current implementation and which I can test locally? This way I would be able to check what exactly is going wrong and advice you further.

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