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

Pie chart legend marker size

3 Answers 157 Views
Charts
This is a migrated thread and some comments may be shown as answers.
RES
Top achievements
Rank 1
RES asked on 04 Jun 2015, 10:16 PM
 So when you adjust the legend label size the color swatches next to them do not change in size.  How to change their size to match the font's size?

3 Answers, 1 is accepted

Sort by
0
EZ
Top achievements
Rank 2
answered on 05 Jun 2015, 02:34 PM
maybe you can use custom visuals to change the legend marker size. See this demo: http://demos.telerik.com/kendo-ui/bar-charts/visuals
0
RES
Top achievements
Rank 1
answered on 05 Jun 2015, 05:01 PM
Seems a bit overkill, isn't there a setting buried in there somewhere that can tweak the size?  Doesn't seem to make sense that there wouldn't be given you can vary the font size wildly but not adjust the marker size to match the font.
0
Iliana Dyankova
Telerik team
answered on 08 Jun 2015, 04:46 PM
Hi guys,

There is no option for setting size to legend items - you should use the legend.item.visual option to customize their appearance.

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