Try something like: data.setCell(0, 2, '<a href="http://www.google.com">Sign up</a> for something'); Remember to set the option showTip to true.
Regards, VizGuy On Wed, Feb 18, 2009 at 4:03 PM, Prasanna <[email protected]> wrote: > > Sorry if I wasn't clear. What I am trying to do is this. > > When you go to, http://code.google.com/apis/maps/, you see a map. And > when you click on the location on the map, you see a popup that says > > "Sign up for a Google Maps API key or read more about the API" where > Sign up is really a hyperlink and so is "read more about the API". How > can this be acheived? > > Thanks > Prasnana > > > > On Feb 18, 8:31 am, Prasanna <[email protected]> wrote: > > I'd like to make the contents of the cell that I am setting using > > SetCell below, not just plain text (like 'Work') but a hyperlink. How > > can I do this please? > > > > function drawMap() { > > var data = new google.visualization.DataTable(); > > data.addColumn('number', 'Lat'); > > data.addColumn('number', 'Lon'); > > data.addColumn('string', 'Name'); > > data.addRows(4); > > data.setCell(0, 0, 37.4232); > > data.setCell(0, 1, -122.0853); > > data.setCell(0, 2, 'Work'); > > data.setCell(1, 0, 37.4289); > > > > > > > > }- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
