[surforce-library commit] r33 - trunk/library/Zsurforce/View/Helper

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 21, 2008, 10:50:26 AM10/21/08
to surforce...@googlegroups.com
Author: oseiro
Date: Tue Oct 21 07:50:08 2008
New Revision: 33

Modified:
trunk/library/Zsurforce/View/Helper/GoogleChart.php

Log:
+ se agrega el argumento $chds para el metodo googleChart, para contemplar
la proporcion de los datos.

Modified: trunk/library/Zsurforce/View/Helper/GoogleChart.php
==============================================================================
--- trunk/library/Zsurforce/View/Helper/GoogleChart.php (original)
+++ trunk/library/Zsurforce/View/Helper/GoogleChart.php Tue Oct 21 07:50:08
2008
@@ -16,9 +16,10 @@
* @param string chd
* @param string chm
* @param string chg
+ * @param string chds
* @return xhtml
*/
- public function googleChart( $chx, $chtt, $chd, $chm = null, $chg =
null )
+ public function googleChart( $chx, $chtt, $chd, $chm = null, $chg =
null , $chds = "1,100")
{
$chm = "D,C6D9FD,1,0,8|D,4D89F9,0,0,4";
$chg = "20,50,1,0";
@@ -27,7 +28,7 @@
"http://chart.apis.google.com/chart?chs=1000x300",
"cht=ls",
"chxt=x,y",
- "chds=1,100",
+ "chds=" . $chds,
"chxl=0:|" . $chx ,
"chtt=" . $chtt,
"chd=t:" . $chd,

Reply all
Reply to author
Forward
0 new messages