Glad we could communicate well enough, and it worked out for you :)

On Fri, May 23, 2014 at 4:45 PM, murphy horta camargo <
[email protected]> wrote:

> daniel thanks for your help, and I have the solution, wiht the link you
> sent me, and several reading
>
> it's importan the formatter, specifying de pattern and it's very important
> the data type, in this case  --> timeofday <----- it's the key  and  the
> value in that format ---> [HH,MM,SS] <---
>
> look at this example that i did for everybody
>
> =====================================================
>  google.setOnLoadCallback(drawChart);
>
>  function drawChart(){
>
>   var data = new google.visualization.DataTable();
>   data.addColumn('string', 'Date');
>   data.addColumn('timeofday', 'Time');
>   data.addRows([
>     ["2012-",  [01,10,2]],
>     ["2013-",  [02,20,2]],
>     ["2014-",  [04,40,2]]
>   ]);
>
> var formatter = new google.visualization.DateFormat({formatType: 'long',
> pattern:'HH:mm:ss'});
>
> // Reformat our data.
> formatter.format(data, 1)
>
>         // Set chart options
>         var options = {'title':'Attencion time',
>                       'width':400,
>                       'height':300};
>
>         // Instantiate and draw our chart, passing in some options.
>         var chart = new
> google.visualization.ColumnChart(document.getElementById('Div_ObservationbyYear'));
>         chart.draw(data, options);
>     }
>
>
> daniel thanks for everything, for being there supporting me.
>
>
>
>
> pd: sorry, i trying  talk to you in english, i don't know very well, i
> don't like translate everything
>
>  --
> 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.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

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