The call Gchart.line()simply returns a string, which is the URL of the corresponding Google Chart image. For instance. Gchart.line(:data => [0, 40, 10, 70, 20])returns "http://chart.apis.google.com/chart?chd=s:AjI9R&cht=lc&chs=300x200&chxr=0,0,70".
So, in order to display a diagram on your page, you need to create an image tag with the source of this generated URL. You can call Gchart directly from the view or configure a variable in your controller.
For instance:
Controller @line_chart = Gchart.line(:data => [0, 40, 10, 70, 20])
View <%= image_tag(@line_chart) %>
: <img src="http://chart.apis.google.com/chart?chd=s:AjI9R&cht=lc&chs=300x200&chxr=0,0,70"/>.