Hi Blue,

If I copy/paste the code you provided, I get a syntax error because of an
extra '}'.  The last one in your code.  That might just be a typo, or I
wonder if this changes your code in some way that would explain what you
are seeing.  An earlier data variable, if there is one, would be exposed
 If I remove the extra '}', it works fine for me, and I get the expected
graph ranging from 0 to 1.5.

dan

On Thu, Jan 17, 2013 at 8:50 PM, Blue <[email protected]> wrote:

> The value acquired from the data base is made a graph.
> When the screen is displayed, shape in the graph often becomes strange.
> My best regards.
>
>
>
> [JavaScript]---------------------------------------------------------------------
> var data = google.visualization.arrayToDataTable([
>             ['name','hour'],
>             ['test1',0],
>             ['test2',0.1],
>             ['test3',0.2],
>             ['test4',0.3],
>             ['test5',0.4],
>             ['test6',0.5],
>             ['test7',0.6],
>             ['test8',0.7],
>             ['test9',0.8],
>             ['test10',0.9],
>             ['test11',1.0],
>             ['test12',1.1],
>             ['test13',1.2],
>             ['test14',1.3],
>             ['test15',1.4]
>         ]);
>
>         var options = {
>             title: 'test',
>             vAxis: {minValue: 0}
>         };
>     }
>
>     var chart = new
> google.visualization.ColumnChart(document.getElementById('chart_div'));
>     chart.draw(data,options);
>
> ---------------------------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/xtClcJSJE-gJ.
> 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.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   562D 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 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