Hi, I' want to draw the borders in my Column Chart.
But it doesn't seem to work properly.
Here is my code.
backgroundColor.XXX properties don't work. What is wrong in my code?
Additionally, font of the vAxis and hAxis' title is italic, how can I
change it normal font?
And how can I draw it as a bold font?
var chart = new
google.visualization.ColumnChart(document.getElementById('barChart2'));
//var chart = new
google.visualization.BarChart(document.getElementById('barChart2'));
chart.draw(data, {
width: 420,
height: 240,
title: '',
vAxis: {
title: '% of Change',
titleTextStyle: {color: '#1c65bd', fontSize:14,
fontName: 'Arial, Helvetica, sans-serif'},
},
'backgroundColor': '#FFF',
'backgroundColor.stroke': '#F00',
'backgroundColor.strokeWidth':'12',
'backgroundColor.fill': '#0F0',
'chartArea':{left:50, top:10},
'colors': ['#1c65bd', '#f26300', '#78757d'],
'legend': 'none',
'hAxis.textPosition': 'none',
'hAxis': {title: '', titleTextStyle: {color:
'#676A6F', fontSize:12}},
});
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.