Hi.
I'm trying to change fontSize of legend, annotation, title, axis. Both are not working. Please, HLP!
var options = {
displayAnnotations: true,
displayZoomButtons: true,
annotationsWidth: 15,
thickness: 2,
//
titleTextStyle: {
// color: <string>, // any HTML string color ('red', '#cc00cc')
fontName: 'Times New Roman', // i.e. 'Times New Roman'
fontSize: 12, // 12, 18 whatever you want (don't specify px)
bold: true, // true or false
italic: false // true of false
},
hAxis : {
textStyle : {
fontSize: 30 // or the number you want
}
},
legend: {position: 'top', textStyle: {color: 'blue', fontSize: 16}},
legendtextStyle: {
fontName: "Times New Roman",
},
annotations: {
textStyle: {
fontName: 'Times-Roman',
fontSize: 18,
bold: true,
italic: true,
color: '#871b47', // The color of the text.
auraColor: '#d799ae', // The color of the text outline.
opacity: 0.8 // The transparency of the text.
}
},
fontSize: "20",
hAxistitleTextStyle: {color: 'black', fontName: 'Arial', fontSize: "20"},
};