Raini Robinson
unread,May 2, 2012, 4:35:04 PM5/2/12Sign 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
I've been trying all day to debug this but I'm not quite sure how
exactly this is supposed to be formatted.
This works:
var linechart = new google.visualization.ChartWrapper({
'chartType': 'LineChart',
'containerId': 'chart1',
'options': {
legend: 'none',
width: '1150',
height: '225',
isStacked: 'false',
backgroundColor: '#F5DEB3',
fontSize: '10'
}
});
This doesn't:
var linechart = new google.visualization.ChartWrapper({
'chartType': 'LineChart',
'containerId': 'chart1',
'options': {
legend: 'none',
width: '1150',
height: '225',
isStacked: 'false',
backgroundColor: '#F5DEB3',
fontSize: '10',
vAxis: {title: 'people',
titleTextStyle: {fontSize: 15}}
}
});
It is really important that this:
vAxis: {title: 'people', titleTextStyle: {fontSize: 15}}
gets into the options otherwise I'm going to have to not use the chart
wrapper and the great utilities that go with it.
I'm sure this is just due to my inexperience with chart wrapper
formatting, if someone would be so kind as to show me what I have done
wrong with the formatting it will ensure three days work has not gone
to waste.