Area Chart Not Rendering

39 views
Skip to first unread message

TheInnovator

unread,
Jul 31, 2013, 7:39:32 AM7/31/13
to google-visua...@googlegroups.com
Hello All,
 
I am trying to create an area chart but it's not rendering.  Any ideas?  In my actual code that I'm using it, it's going to be dynamic meaning it's actual data coming from a SharePoint list.
The actual error I get when I try to run it in SharePoint is "google.visualization.datatable' is null or not an object" and it points to the following line:
var data = new google.visualization.DataTable();
 

Daniel LaLiberte

unread,
Jul 31, 2013, 9:50:21 AM7/31/13
to google-visua...@googlegroups.com
Your jsfiddle code works for me except you need to change your first addColumn line to:

  data.addColumn('string', 'Fiscal Year');

For your actual code, is there a way you can share it?  From the error you are getting, it sounds like the visualization code is not being loaded properly.

dan


--
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 google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
dlaliberte@Google.com   562D 5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Isaac Sogunro

unread,
Jul 31, 2013, 9:56:20 AM7/31/13
to google-visua...@googlegroups.com
That's weird...I made the change but nothing renders.  The result pane is blank.


--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/D2H1WHF8Bz0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
-Isaac-

http://twitter.com/#!/feedy0urmind
You are today where your thoughts have brought you; you will be tomorrow where your thoughts take you.
- James Allen

Alexander Ivanov

unread,
Jul 31, 2013, 10:02:03 AM7/31/13
to google-visua...@googlegroups.com
Add External Resources http://www.google.com/jsapi?fake=.js

Alexander Ivanov

unread,
Jul 31, 2013, 10:04:33 AM7/31/13
to google-visua...@googlegroups.com
And Frameworks & Extensions No wrap - in <head>

On Wednesday, July 31, 2013 6:02:03 PM UTC+4, Alexander Ivanov wrote:
Add External Resources http://www.google.com/jsapi?fake=.js
Reply all
Reply to author
Forward
0 new messages