Skip to content

Commit

Permalink
#4 - Se modifico tama~o del grafico
Browse files Browse the repository at this point in the history
  • Loading branch information
visigoten committed Dec 12, 2015
1 parent 8d99851 commit 38319d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/resultado.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def reporte():
listas.append(lista['nro_lista'])
porcentajes.append(lista['porc'][:-2])

url = "http://chart.apis.google.com/chart?cht=p&chd=t:"+','.join(porcentajes)+"&chs=250x100&chl="+'|'.join(listas)+"&.png"
chart = IMG(_src=url,_width="250",_height="100")
url = "http://chart.apis.google.com/chart?cht=p&chd=t:"+','.join(porcentajes)+"&chs=500x400&chl="+'|'.join(listas)+"&.png"
chart = IMG(_src=url,_width="500",_height="400")

# devuelvo los datos a la vista
return dict(
Expand Down

0 comments on commit 38319d1

Please sign in to comment.