bobotime

Members
  • Content count

    11
  • Joined

  • Last visited

About bobotime

  • Rank
    Junior Member
  1. Exports After The Page Is Blank

    I understood and solved. It was not enabled gd library thank you very much
  2. Export To Jpg Or Png

    I understood and solved. It was not enabled gd library thank you very much
  3. Exports After The Page Is Blank

    I apologize for the delay in the response $strXML = "<graph caption='Trend inattesi HUB di: ".$caption."' subCaption='Hub Manager: ".$subCaption."' animation='".$GLOBALS['animate']."' numberPrefix='' formatNumberScale='1' rotateValues='0' forceDecimals = '1' decimals='0' decimalPrecision='0' pieSliceDepth='' labelDisplay='rotate' outCnvBaseFont='Arial' outCnvBaseFontSize='9' BaseFont='Arial' BaseFontSize='8' showValues='0' animation='1' showBorder='0' borderColor='' bgColor='EEEEEE' canvasBorderColor='CCCCCC' canvasBorderThickness='1' showExportDataMenuItem='1' exportEnabled='1' exportAtClient='0' exportHandler='plugins/FusionCharts/export/FCExporter.php' exportAction='download'>"; Thanks in advance for your help
  4. Export To Jpg Or Png

    Hello guys, because the export of the chart in png and jpg I only work locally and instead of the production server I view the page blank FusionCharts / export / FCExporter.php Instead exporting to pdf works on both servers. thanks in advance
  5. why it works locally and not on the server? I've inserted this XML attributes: showExportDataMenuItem='1' exportEnabled='1' exportAtClient='0' exportHandler='charts/export/FCExporter.php' exportAction='download' Thanks in advance for your help
  6. Widget Hlineargauge With Php And Mysql

    I do not understand why the graph HLinearGauge.swf the example of XML code in the official documentation is this? <Chart bgColor='FFFFFF' bgAlpha='0' showBorder='0' upperLimit='100' lowerLimit='-50' gaugeRoundRadius='5' chartBottomMargin='10' ticksBelowGauge='0' showGaugeLabels='0' valueAbovePointer='0' pointerOnTop='1' pointerRadius='9'> <colorRange> <color minValue='0' maxValue='100' name='GOOD' /> <color minValue='35' maxValue='70' name='WEAK' /> <color minValue='70' maxValue='100' name='BAD' /> </colorRange> <value>-11</value> <styles> <definition> <style name='ValueFont' type='Font' bgColor='333333' size='10' color='FFFFFF'/> </definition> <application> <apply toObject='VALUE' styles='valueFont'/> </application> </styles> </Chart> anyway I do not work either with the pointer .
  7. Hello guys, I wanted to create this widget with PHP, because it does not work with this code? I do like to display readings with php and MySQL? thank you very much <?php $query= "SELECT COUNT(CODE_A) AS TOT_A, COUNT(CODE_ AS TOT_B FROM CUSTOMER"; $result=mysql_query($query) or die("Query fallita".mysql_error()." ".$query); $ors = mysql_fetch_array($result); $perc_= $ors_2['TOT_B'] / $ors['TOT_A'] * 100; $perc = number_format($perc_, 0, '.', ''); $strXML = "<Chart bgColor='FFFFFF' bgAlpha='0' showBorder='0' upperLimit='100' lowerLimit='0' gaugeRoundRadius='5' chartBottomMargin='10' ticksBelowGauge='0' showGaugeLabels='0' valueAbovePointer='0' pointerOnTop='1' pointerRadius='9'>"; $strXML .= "<colorRange>"; $strXML .= "<color minValue='0' maxValue='100' name='GOOD' />"; $strXML .= "<color minValue='35' maxValue='70' name='WEAK' />"; $strXML .= "<color minValue='70' maxValue='100' name='BAD' />"; $strXML .= "</colorRange>"; $strXML .= "<value>" . $perc . "</value>"; $strXML .= "<styles>"; $strXML .= "<definition>"; $strXML .= "<style name='ValueFont' type='Font' bgColor='333333' size='10' color='FFFFFF'/>"; $strXML .= "</definition>"; $strXML .= "<application>"; $strXML .= "<apply toObject='VALUE' styles='valueFont'/>"; $strXML .= "</application>"; $strXML .= "</styles>"; $strXML .= "</chart>"; echo renderChart("swf/HLinearGauge.swf", "", $strXML, "PERC_CUST", 250, 50, false, false, true); ?>
  8. Styles Caption And Subcaption

    fantastic! thank you very much .
  9. Hello guys, how do I apply styles for caption and subcaption with this code? I tried the code block after the comment, but does not work. 10ks $strXML = "<chart caption='".$TitleCaption."' subCaption='".$TitleSubCaption."' showBorder='1' outCnvBaseFont='Verdana' outCnvBaseFontSize='9' BaseFont='Arial' BaseFontSize='9' formatNumberScale='0' animation=' " . $animateChart . "' borderColor='CCCCCC' bgColor='EEEEEE'>"; $query= "SELECT var, var1 FROM table"; $result=mysql_query($query) or die("Query fallita".mysql_error()." ".$query); while($ors = mysql_fetch_array($result)){ $strXML .= "<set label='" . $ors['var'] . "' value='" . $ors['var1'] . "' />"; } ######################## styles for Caption and SubCaption ################################################ $strXML .= "<styles> <definition> <style name='MyFirstFontStyle' type='font' face='Verdana' size='12' color='FF0000' bold='1' bgColor='FFFFDD' /> <style name='MyFirstAnimationStyle' type='animation' param='_xScale' start='0' duration='2' /> <style name='MyFirstShadow' type='Shadow' color='CCCCCC' /> </definition> <application> <apply toObject='Caption' styles='MyFirstFontStyle,MyFirstShadow' /> <apply toObject='Canvas' styles='MyFirstAnimationStyle' /> <apply toObject='DataPlot' styles='MyFirstShadow' /> </application> </styles>"; #################################################################################################### $strXML .= "</chart>"; echo renderChart("charts/swf/Column3D.swf", "", $strXML, "chart_one", 900, 350, false, false,true);
  10. MSColumn3D or MSLine with MySQL db

    Hi ayan.pal Thanks for your help, I start work immediately. Regards Bobotime
  11. Sorry for my English. how do I create a chart multi-series (MSColumn3D or MSLine for example) with mysql db without using the class FusionCharts_Gen ? Or you can explain the good usage of the class, not being very good development with objects. I can not understand how do I also read the document "FusionCharts PHP Class API> List of Functions" but for me it is difficult to integrate the values of the query Where is possible to integrate the example with "Charting Data from an Array" with readings from db ? Thanks .