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

Globally control font-size and family for multiple charts/graphs?

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Grant
Top achievements
Rank 1
Grant asked on 01 Apr 2014, 08:07 PM
Hi I'm quite new to DataViz but loving it so far.

I have multiple charts across multiple pages and I was wondering if there is a place where I can set some default settings for every graph on every page site wide?


title: {
    .....
    font: "12px sans-serif"
    .....
  },


So instead of setting the above on every graph, is there a place where I can set it once and every graph will adopt this setting unless specifically overidden?

Thanks,
-Grant

-Grant

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 03 Apr 2014, 01:36 PM
Hi Grant,

In order to achieve this you could use the chart prototype. As an example: 
kendo.dataviz.ui.Chart.prototype.options.title.font = "12px sans-serif"

Regards,
Iliana Nikolova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Grant
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or