[Phphtmllib-devel] SF.net SVN: phphtmllib:[3413] trunk/open2300/lib/modules/graphs/flash/ TempDewPo
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2010-03-03 19:17:47
|
Revision: 3413 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3413&view=rev Author: hemna Date: 2010-03-03 19:17:41 +0000 (Wed, 03 Mar 2010) Log Message: ----------- changes ? Modified Paths: -------------- trunk/open2300/lib/modules/graphs/flash/TempDewPointLineFlashGraph.inc Modified: trunk/open2300/lib/modules/graphs/flash/TempDewPointLineFlashGraph.inc =================================================================== --- trunk/open2300/lib/modules/graphs/flash/TempDewPointLineFlashGraph.inc 2010-03-03 19:16:23 UTC (rev 3412) +++ trunk/open2300/lib/modules/graphs/flash/TempDewPointLineFlashGraph.inc 2010-03-03 19:17:41 UTC (rev 3413) @@ -62,10 +62,14 @@ $line_2->set_key("Dew Point", 10); $y = new OFC_Elements_Axis_Y(); - $y->set_range( min($this->temp_values)-5, max($this->temp_values)*1.2, 10); + $y->set_range( min($this->temp_values)-6, max($this->temp_values)*1.1, 10); + $y->set_steps(2); $x = new OFC_Elements_Axis_X(); - $x->set_steps(24); + $x->set_steps(60); $x->set_tick_height(5); + $time_arr = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23); + +// $x->set_labels($time_arr); $x->set_labels_from_array($this->time_data); $chart = new OFC_Chart(); @@ -78,4 +82,4 @@ echo $chart->toPrettyString(); } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |