Hi Sergey

Thanks a million for the help. Really appreciate it - will use this to
amend my graph.

Thanks again

Brian

On Mon, Sep 8, 2014 at 3:30 PM, 'Sergey Grabkovsky' via Google
Visualization API <[email protected]> wrote:

> Here is a simple example: http://jsfiddle.net/aSRUx/346/
>
> On Mon Sep 08 2014 at 10:24:42 AM Brian Cleere <[email protected]>
> wrote:
>
>> Hi Sergey,
>>
>> Thanks for getting back to me. Would you be able to direct me to a sample
>> of these type of tooltips if possible that I could adapt?
>>
>> Thanks again,
>>
>> Brian
>>
>>
>> On Thursday, September 4, 2014 3:06:06 PM UTC+1, Sergey wrote:
>>
>>> Hi Brian, unfortunately there's no automated way to do this. You only
>>> option is to use HTML tooltips and create the entire tooltip as an HTML
>>> string.
>>>
>>> On Thu Sep 04 2014 at 9:37:55 AM Brian Cleere <[email protected]>
>>> wrote:
>>>
>> Hi guys,
>>>>
>>>> I'm new to the visualization API and I've searched for information on
>>>> this prior to posting.
>>>>
>>>> I'm plotting the graph below, but am looking to add additional
>>>> information to the tooltip that is shown when a user hovers over a point.
>>>>
>>>> So for example, instead of the tooltip just showing:
>>>>
>>>> "*Jan*
>>>>
>>>> 2011: *104.0*"
>>>>
>>>>
>>>> I would like the tooltip to display something like:
>>>>
>>>> "*Jan*
>>>>
>>>> 2011: *104.0*
>>>>
>>>>
>>>> *Notes:*
>>>>
>>>> The reason why the figure is 104.0 is because of X, Y, Z..."
>>>>
>>>>
>>>>
>>>> Any help or guidance is very much appreciated.
>>>>
>>>> Thanks
>>>>
>>>> Brian
>>>>
>>>>
>>>>
>>>> *CODE*
>>>>
>>>> <html>
>>>>   <head>
>>>>     <script type="text/javascript" src="https://www.google.com/jsapi
>>>> "></script>
>>>>     <script type="text/javascript">
>>>>       google.load("visualization", "1", {packages:["corechart"]});
>>>>       google.setOnLoadCallback(drawChart);
>>>>       function drawChart() {
>>>>         var data = google.visualization.arrayToDataTable([
>>>>           ['Month', '2011', '2012', '2013', '2014'],
>>>>           ['Jan', 104.0, 107.6, 111.0, 133.6],
>>>>           ['Feb', 109.7, 106.3, 111.0, 133.5],
>>>>           ['Mar', 108.8, 106.0, 114.5, 131.5],
>>>>           ['Apr', 110.4, 96.7, 120.6, 128.7],
>>>>           ['May', 109.7, 95.1, 124.7, 123.9],
>>>>           ['Jun', 109.7, 94.9, 126.6, 121.5],
>>>>           ['Jul', 109.0, 91.8, 130.3, null],
>>>>           ['Aug', 106.9, 98.0, 133.5, null],
>>>>           ['Sep', 107.0, 104.9, 133.7,  null],
>>>>           ['Oct', 107.6, 106.4, 131.1, null],
>>>>           ['Nov', 108.3, 109.1, 131.9, null],
>>>>           ['Dec', 107.6, 111.1, 133.6, null]
>>>>         ]);
>>>>
>>>>         var options = {
>>>>           title: 'Draft Graph'
>>>>         };
>>>>
>>>>         var chart = new google.visualization.LineChart(document.
>>>> getElementById('chart_div'));
>>>>
>>>>         chart.draw(data, options);
>>>>       }
>>>>     </script>
>>>>   </head>
>>>>   <body>
>>>>     <div id="chart_div" style="width: 900px; height: 500px;"></div>
>>>>   </body>
>>>> </html>
>>>>
>>>> --
>>>> 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 [email protected].
>>>>
>>> To post to this group, send email to [email protected].
>>>>
>>>
>>>> Visit this group at http://groups.google.com/
>>>> group/google-visualization-api.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>  --
>>>> 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 [email protected].
>>>> To post to this group, send email to
>>>> [email protected].
>>>> Visit this group at
>>>> http://groups.google.com/group/google-visualization-api.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>  --
> 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/R0Arw0LlqN8/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to