likigoldenstar
unread,Sep 21, 2011, 10:48:44 AM9/21/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
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}},
});