function GetTempImage() { if ($this->FldDataType == EWR_DATATYPE_BLOB) { $wrkdata = $this->DbValue; if (!empty($wrkdata)) { if ($this->ImageResize) { $wrkwidth = $this->ImageWidth; $wrkheight = $this->ImageHeight; ewr_ResizeBinary($wrkdata, $wrkwidth, $wrkheight, $this->ResizeQuality); } return ewr_TmpImage($wrkdata); } } else { $wrkfile = $this->DbValue; if (empty($wrkfile)) { $wrkfile = $this->CurrentValue; } if (!empty($wrkfile)) { $tmpfiles = explode(EWR_MULTIPLE_UPLOAD_SEPARATOR, $wrkfile); $tmpimage = ""; foreach ($tmpfiles as $tmpfile) { if ($tmpfile != "") { $imagefn = ewr_UploadPathEx(TRUE, $this->UploadPath) . $tmpfile; if ($this->ImageResize) { $wrkwidth = $this->ImageWidth; $wrkheight = $this->ImageHeight; $wrkdata = ewr_ResizeFileToBinary($imagefn, $wrkwidth, $wrkheight, $this->ResizeQuality); if ($tmpimage != "") { $tmpimage .= ","; } $tmpimage .= ewr_TmpImage($wrkdata); } else { if ($tmpimage != "") { $tmpimage .= ","; } $tmpimage .= ewr_ConvertFullUrl($this->UploadPath . $tmpfile); } } } return $tmpimage; } } }
// Chart ID $Chart->SetChartParms(array(array("type", "5", FALSE), array("seriestype", "0", FALSE))); // Chart type / Chart series type $Chart->SetChartParm("bgcolor", "CC99FF", TRUE); // Background color $Chart->SetChartParms(array(array("caption", $Chart->ChartCaption()), array("xaxisname", $Chart->ChartXAxisName()))); // Chart caption / X axis name $Chart->SetChartParm("yaxisname", $Chart->ChartYAxisName(), TRUE); // Y axis name $Chart->SetChartParms(array(array("shownames", "1"), array("showvalues", "1"), array("showhovercap", "1"))); // Show names / Show values / Show hover $Chart->SetChartParm("alpha", "50", FALSE); // Chart alpha $Chart->SetChartParm("colorpalette", "#FF0000|#FF0080|#FF00FF|#8000FF|#FF8000|#FF3D3D|#7AFFFF|#0000FF|#FFFF00|#FF7A7A|#3DFFFF|#0080FF|#80FF00|#00FF00|#00FF80|#00FFFF", FALSE); // Chart color palette $Chart->SetChartParms(array(array("showLimits", "1"), array("showDivLineValues", "1"), array("yAxisMinValue", "0"), array("yAxisMaxValue", "0"), array("showAlternateVGridColor", "0"), array("isSliced", "1"), array("showAsBars", "0"), array("exportEnabled", "1"), array("exportHandler", ewr_ConvertFullUrl("fcexporter8.php")), array("exportAtClient", "0"), array("exportAction", "save"), array("exportDialogMessage", $ReportLanguage->Phrase("ExportChart")), array("exportShowMenuItem", "0"))); $Chart->ChartGridConfig = '{}'; // Setup chart series data if ($Chart->ChartSeriesSql != "") { ewr_LoadChartSeries($Chart->ChartSeriesSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart Series SQL): " . $Chart->ChartSeriesSql . "</p>"; } } // Setup chart data if ($Chart->ChartSql != "") { ewr_LoadChartData($Chart->ChartSql, $Chart); if (EWR_DEBUG_ENABLED) { echo "<p>(Chart SQL): " . $Chart->ChartSql . "</p>"; } }
themes/fusioncharts.theme.ocean.js"></script> <script type="text/javascript" src="<?php echo $EWR_RELATIVE_PATH . EWR_FUSIONCHARTS_PATH; ?> themes/fusioncharts.theme.carbon.js"></script> <script type="text/javascript" src="<?php echo $EWR_RELATIVE_PATH . EWR_FUSIONCHARTS_PATH; ?> themes/fusioncharts.theme.zune.js"></script> <script type="text/javascript" src="<?php echo $EWR_RELATIVE_PATH . EWR_FUSIONCHARTS_FREE_JSCLASS_FILE; ?> "></script> <script type="text/javascript"> var EWR_CHART_EXPORT_HANDLER = "<?php echo ewr_ConvertFullUrl("fcexporter8.php"); ?> "; </script> <?php } ?> <script type="text/javascript">if (window.jQuery && !window.jQuery.browser) ewr_GetScript("jquery/jquery.browser.js");</script> <script type="text/javascript">if (window.jQuery && !window.jQuery.iframeAutoHeight) ewr_GetScript("jquery/jquery.iframe-auto-height.js");</script> <script type="text/javascript">if (window.jQuery && !window.jQuery.localStorage) ewr_GetScript("jquery/jquery.storageapi.min.js");</script> <?php if (@$gsExport == "") { ?> <script type="text/javascript">if (window.jQuery && !jQuery.colorbox) ewr_GetScript("colorbox/jquery.colorbox-min.js");</script> <?php }