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"},
};
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/72209562-6eea-4fc5-861a-9a4c265e249b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.