Try setting the formatted values of cells with the string you want to appear as the tooltip More info about the data table object http://code.google.com/apis/visualization/documentation/reference.html#DataTable
<http://code.google.com/apis/visualization/documentation/reference.html#DataTable> ChartMan On Sat, Sep 11, 2010 at 4:58 AM, Chris <[email protected]> wrote: > how would you insert a hard-coded string into each data point or turn > the tooltip off (because I don't like the default display) altogether? > > On Sep 10, 4:52 pm, Lucas <[email protected]> wrote: > > Now I understood your question... > > > > Chris, as far as I know, on the tooltip you can only display the > > values set on the DataTable. On the Scatter Chart the columns can only > > be numerical, so you can't put different strings for them (like, one > > string for each individual people). > > > > On the Google Playground there's a string for each category, on the > > older version may be a way to do this. > > > > So, concluding, if these three people are on the same category there > > isn't a way to do that, but if each one is one category (which I think > > that it's not the case), you can put a " hardcoded 'string' " for each > > one. > > > > Hope that this helps... > > > > If you need, ask and I'll try to help you more. > > > > On 10 set, 16:18, Chris <[email protected]> wrote: > > > > > > > > > Hm, I should have made my question more clear. I guess what I'm asking > > > is can I put my own words and customize each tooltip element for each > > > datapoint? Lets say that I have 3 bubbles which belong to 3 individual > > > people. I would like to be able to write non-dynamic and hardcoded > > > 'string' text about each of these people in each of the tooltips... > > > > > On Sep 10, 2:57 pm, Lucas <[email protected]> wrote: > > > > > > I think that the data.addColumn is what you are looking for. I saw > > > > that there's no text on the old version sample but the one on Google > > > > Playground appears to have a better looking content. > > > > > > It's probably using the new version but can give you some tips of how > > > > do you change the tooltip content. > > > > > > > http://code.google.com/apis/ajax/playground/?type=visualization#scatt... > > > > > > On 10 set, 15:36, Chris <[email protected]> wrote: > > > > > > > Thanks. Will definitely look through it. I also had another > question: > > > > > is it possible to modify the contents on the tooltip? > > > > > > > On Sep 10, 9:14 am, Lucas <[email protected]> wrote: > > > > > > > > Can't you use the old version? > > > > > > > > > http://code.google.com/intl/pt-BR/apis/visualization/documentation/ga... > > > > > > > > It hasn't automatic tooltip. > > > > > > > > On 10 set, 02:34, Chris <[email protected]> wrote: > > > > > > > > > Is there a way to disable the automatic tooltip for the scatter > chart? > > -- > 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]<google-visualization-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > > -- 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.
