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

Charts - Changing the default font

1 Answer 193 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Conor
Top achievements
Rank 1
Conor asked on 15 Jul 2012, 07:17 PM
The default font for charts, as far as I can tell from the documentation, is 12px Arial,Helvetica,sans-serif. I would like to change the default font family to Tahoma. I want this to hit everything from legends, titles, to labels.

Is there a way to do this? I can't see anything in the CSS that seems to reference this.

Thanks

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 16 Jul 2012, 10:27 AM
Hello Conor,

There is no default value for the font property of the chart. If you want to change the font you need to override it. For example:
title: {
    font: "yourFont"
},
legend: {
    labels: {
        font: "yourFont"
    }
},

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