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

Chart note styling

1 Answer 12 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 12 Sep 2014, 05:46 PM
A few questions

1: Is it possible to change the font size for the chart note?
2. Is it possible to format portions of the note content (coloring a keyword i.e.) using css?

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 16 Sep 2014, 10:38 AM
Hi Alex,

1) You need to set the correct font for the notes via: http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.notes.label.font
2) If you want to support only svg or vml you can use a template who will render the correct output. But if you want to support vml and svg this task is much more complicate:
- You need to detect the browser via kendo.support.browser and you need to change the output. For IE 9 and above + Chrome FF you need to use svg. for IE 7/8 you need to use vml.

Please note that this is custom solution and it is not supported.

Regards,
Hristo Germanov
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
Alex
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or