Solved it!

In the HTML, I was loading the JSAPI using HTTPS, but loading the data
from HTTP.

Was:
<script type="text/javascript" src="https://www.google.com/jsapi";></
script>

Changed it to:
<script type="text/javascript" src="http://www.google.com/jsapi";></
script>


...and the labels were all there!


On Feb 14, 9:25 pm, Duke <[email protected]> wrote:
> Hello!
>
> I created my own data source, and am attemtping to generate an
> annotated timeline from the web server and my own query output
> engine.  The timeline renders fine, and the annotations show on the
> right side, but the labels do not show up on the timeline.  When I
> click on the label on the right in IE, nothing happens.  When I do it
> on Chrome, I get "Uncaught Error: Error calling method on NPObject" in
> the console.
>
> The dates plot correctly, so I don't think it is a date issue.
>
> I saw others with similar issues, but those looked primarily to using
> local files, and all of those that I found were at least a year old.
>
> Here's the output from the query:
> google.visualization.Query.setResponse({version:'0.6',reqId:'0',status:'ok'­,table:
> {cols:[{id:'Col1',label:'Date',type:'date'},
> {id:'Col2',label:'Regular',type:'number'},
> {id:'Col3',label:'Title1',type:'string'},
> {id:'Col4',label:'Text1',type:'string'},
> {id:'Col5',label:'Plus',type:'number'},
> {id:'Col6',label:'Title2',type:'string'},
> {id:'Col7',label:'Text2',type:'string'},
> {id:'Col8',label:'Super',type:'number'},
> {id:'Col9',label:'Title3',type:'string'},
> {id:'Col10',label:'Text3',type:'string'},
> {id:'Col11',label:'Diesel',type:'number'},
> {id:'Col12',label:'Title4',type:'string'},
> {id:'Col13',label:'Text4',type:'string'},],rows:[{c:[{v:new
> Date(2011,1,12)},{v:456.62000},,,{v:22.01000},,,{v:16.37000},,,{v:
> 43.38000},{v:'Label1'},]},{c:[{v:new Date(2011,1,13)},{v:415.96000},,,
> {v:6.47000},,,{v:23.27000},,,{v:60.49000},{v:'Label2'},]},{c:[{v:new
> Date(2011,1,14)},{v:1394.18000},,,{v:132.46000},,,{v:52.49000},,,{v:
> 215.09000},{v:'Labe3l'},]}
>
> Any help would be appreciated!
>
> Thanks!

-- 
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.

Reply via email to