|
Variables |
| $dcmPage = new DcmmsPage(_("Aging Report")) |
| $arrInterval |
| $arrIntervalSeconds |
| $arrCount |
| $form = new HTML_QuickForm("AgingForm") |
| $selCount = new HTML_QuickForm_select("count", _("Count:"), $arrCount) |
| $selInterval |
| $selAdministrativeArea |
| $strQuery |
| $selSubtype = new HTML_QuickForm_select('subtype', _('Type:')) |
| $strQuery |
| $numAdministrativeArea = $form->exportValue("administrativearea") |
| $strWhere = "" |
| $numRowCount = $objTable->getRowCount() |
| $strCell = '' |
| $Graph = & Image_Graph::factory("Image_Graph", array(800, 600)) |
| $Arial_v = & $Graph->addNew('font', 'Arial') |
| $Plotarea = & $Graph->add(Image_Graph::factory("Image_Graph_Plotarea")) |
| $Dataset = & Image_Graph::factory("Image_Graph_Dataset_Trivial") |
| $numCount = $form->exportValue("count") |
| $strEndTimestamp = $form->exportValue("end_timestamp") |
| $strInterval = $form->exportValue("interval") |
| $numIntervalSeconds = $arrIntervalSeconds[$strInterval] |
| $objResult = pg_query($strQuery) |
| $arrRow = pg_fetch_row($objResult) |
| $Bar = & Image_Graph::factory("Image_Graph_Plot_Bar", &$Dataset) |
| $Plot = & $Plotarea->add(&$Bar) |
| $AxisX = & $Plotarea->getAxis(IMAGE_GRAPH_AXIS_X) |
| $strTmpPath = tempnam("c:\\tmp\\ms_tmp", "graph").".png" |
| $Graph = & Image_Graph::factory("Image_Graph", array(800, 600)) |
| $Arial_v = & $Graph->addNew('font', 'Arial') |
| $Plotarea = & $Graph->add(Image_Graph::factory("Image_Graph_Plotarea")) |
| $Dataset = & Image_Graph::factory("Image_Graph_Dataset_Trivial") |
| $Graph = & Image_Graph::factory("Image_Graph", array(800, 600)) |
| $Arial_v = & $Graph->addNew('font', 'Arial') |
| $Plotarea = & $Graph->add(Image_Graph::factory("Image_Graph_Plotarea")) |
| $Dataset = & Image_Graph::factory("Image_Graph_Dataset_Trivial") |