I tested that code and it works just fine for me.
On Wednesday, May 2, 2012 4:35:04 PM UTC-4, Raini Robinson wrote:
>
> 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.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/_oLkUj3usxcJ.
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.