How to change the font size of the Google header?

How do I change the font size of my headline in Google graphics?

var options = { title: 'My Daily Activities', 'backgroundColor': 'transparent', is3D: true, }; 
+6
source share
1 answer

Use titleTextStyle in options like

 var options = { titleTextStyle: { color: <string>, // any HTML string color ('red', '#cc00cc') fontName: <string>, // ie 'Times New Roman' fontSize: <number>, // 12, 18 whatever you want (don't specify px) bold: <boolean>, // true or false italic: <boolean> // true of false } } 

You can find the full guide to supporting Google Charts here https://developers.google.com/chart/interactive/docs

+24
source

All Articles