Charts - Changing the default font

2 posts, 0 answers
  1. Conor
    Conor avatar
    1 posts
    Member since:
    May 2012

    Posted 15 Jul 2012 Link to this post

    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
  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 16 Jul 2012 Link to this post

    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!
Back to Top