FusionCharts Support

Members
  • Content count

    2,097
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by FusionCharts Support

  1. xml file on different server

    Hi, To make it less technical you can have a separate file (relay file) for each chart/each XML. You need to pass the URL of this relay file to the setDataURL function. If you can try a bit, you can develop a single file which would relay all the XML files you need from the other domain. To this script, say if named relayer.php, you can pass the URL of the required XML and this file in turn can pass the chart the XML it needs. So, the code can be: In JavaScript (for different charts) myChart.setDataURL(escape("realyer.php?XML=http://www.mydomain.com/xml/myXML1.xml")); myChart.setDataURL(escape("realyer.php?XML=http://www.mydomain.com/xml/AnotherXML.xml")); myChart.setDataURL(escape("realyer.php?XML=http://www.mydomain.com/otherSource/newXML.xml")); myChart.setDataURL(escape("realyer.php?XML=http://www.anotherdomain.com/myXML.xml")); and the realyer.php would be: <?php $xmlDoc = new DOMDocument(); $xmlDoc->load($_GET["XML"]); header('Content-type: text/xml'); echo $xmlDoc->saveXML(); ?>
  2. Not Exporting in IE6

    Hi, Could you please make sure that you are using the exportComponent from the latest version FusionCharts v3.1.1 [ http://www.fusioncharts.com/PUC ]
  3. Column chart small bars issue

    Hi, I apologize. The forum has decoded some values which needed to remain encoded. Please try again: displayValue="<a href='google.com' >462</a>"/>
  4. Gradient on Single Series Bar

    Hi, Would this XML help? <chart plotGradientColor=''> <set label='Jan' value='462' color='ff0000,0000ff'/> <set label='Feb' value='857' color='00ffff,ff0000'/> <set label='Mar' value='671' color='ff00ff,00ffff'/> <set label='Apr' value='494' color='ffff00,ff0000,00ff00'/> <set label='May' value='761' color='0000ff,ff00ff'/> <set label='Jun' value='960' color='00ffff'/> </chart> Please note the attributes: plotGradientColor (whose value is blank to set of default gradient) color (in each set - where i have provided individual graident colors, you just need to provide them separating each with a comma) You can also use other attributes in <chart> element to control gradient globally: These are : plotFillAngle - (Number 0-360 If you've opted to fill the plot (column, area etc.) as gradient, this attribute lets you set the fill angle for gradient. ) plotFillRatio - ( Number 0-100 If you've opted to fill the plot (column, area etc.) as gradient, this attribute lets you set the ratio for gradient. ) plotFillAlpha - (Number 0-100 If you've opted to fill the plot (column, area etc.) as gradient, this attribute lets you set the fill alpha for gradient. ) plotGradientColor - (Color Hex Color You can globally add a gradient color to the entire plot of chart by specifying the second color as this attribute. For example, if you've specified individual colors for your columns and now you want a gradient that ends in white. So, specify FFFFFF (white) as this color and the chart will now draw plots as gradient. )
  5. Hi, Classic ASP does not provide method overloading. So, the number of arguments for the two methods - renderChart and renderChartHTML are different. The signatures are : renderChart(chartSWF, strURL, strXML, chartId, chartWidth, chartHeight, debugMode, registerWithJS) renderChartHTML(chartSWF, strURL, strXML, chartId, chartWidth, chartHeight, debugMode) Please mark that there is one less argument in renderChartHTML. The problem might be due to this. We need to conform to the number of arguments in ASP.
  6. Hi, I am afraid, this is not possible as of now.
  7. Moving Charts to laptop

    Hi, Please try once running the application from a web server in your laptop or set up Flash Player global security settings. Please refer: http://www.fusioncharts.com/forum/FindPost8077.aspx
  8. Widget with asp

    Hi, If you have followed how to do this in FusionCharts it is same in FusionWidgets. Just change the SWF file name and provide the correct XML for the widget. You need to use same FusionCharts.js/FusionCharts.asp.
  9. Need to call js function on entire chart.

    Hi, Could you please try one of the following? Java Scrip t:download('DwnNPS',2) or j-download-DwnNPS,2 [ Here the function download will get one parameter string "DwnNPS,2" which you need to split into to in the function itself.]
  10. Font Styles not working properly!

    Hi, Could you please send us your XML so that we can test? Please also mention the chart name (preferably SWF name)
  11. How to set categories apart in MSstackedBar3d.swf

    Hi, I am afraid, this is not available as of now. We would have this feature in our next major release v4.
  12. DOM Bug with firefox

    Hi, There are some issues with Firefox with Flash movies (like our charts) while transferring data. We are looking into this.
  13. how to caption for angular guage

    Hi, You would need to use Annotation texts to add caption text. Please find Annotation reference from http://www.fusioncharts.com/widgets/docs.
  14. Automated Export of JPG

    Hi, Yes, we have brought a new smarter feature called - export. Using this you can - save an image file to server - use client side (no server side interaction needed) export component - save various formats like JPG, PNG, PDF There are more things. saveAsImage is depricated. Now its exportChart() Please read full at Documentation section : "Exporting as Image/PDF"
  15. Disable Map Links until Ajax returns the content

    Hi, What you can do is to put a HTML Dimmer DIV Element over the map when the other DIV is getting updated. You need to set the map's WMODE to opaque to allow HTML elements over the map. Now set an opacity of the DIV (to make it translucent) above the map till the other DIV content gets refreshed. Once done remove the DIV.
  16. Column chart small bars issue

    Hi, You can try a hack. Please follow the XML and find how HTML font style is applied to DataValues. Now for the first column I have placed a custom Display value with HTML Anchor <A>. <chart palette='2' caption='Unit Sales' xAxisName='Month' yAxisName='Units' showValues='1' decimals='0' formatNumberScale='0' useRoundEdges='1'> <set label='Jan' value='462' displayValue="<a href='google.com' >462</a>"/> <set label='Feb' value='857' /> <set label='Mar' value='671' /> <set label='Apr' value='494' /> <set label='May' value='761' /> <set label='Jun' value='960' /> <styles> <definition> <style type='font' name='HTMLf' isHTML='1'/> </definition> <application> <apply toObject='datavalues' styles='HTMLf' /> </application> </styles> </chart> You can try the same formula for the labels too.
  17. Hi, Name conflict: var myChart = new FusionCharts("/mef/Charts/Column2D.swf", 'myChart', '900', '300', '0', '1'); Please try once changing any of the red texts. Say, var myChartJSObj = new FusionCharts("/mef/Charts/Column2D.swf", 'myChart', '900', '300', '0', '1'); Could you please send us the XML where you are loading the logo? If possible please send us a working live sample URL so that we can text. Our Test Lab confirms that the logo appears in exported image.
  18. Problem in batch export option(Urgent)

    sorry, cant get your issue.
  19. Batch Exporting in FusionCharts v3

    1. I need it to work without repetitive mouse clicks. I can do (1) mouse click to get it started if I have to, but I'd prefer no mouse clicks at all. >> Yes, you can do with 1 mouse click. Raise a JavaSCript that calls exportChart() for all charts present in the page. Your code architecture should keep a list of all rendered chart ids. You can also do it when all chart has finished rendering. Again keep a list of all chart DOMIds and set flag for rendered charts and once all are rendered call exportChart() JS function for all charts using getChartFromId(DOMId).exportChart(). 2. I need to to be able to read external XML files (that's working in my current go.php file) >> DONE 3. I need to be able to use a mixture of Column2D, MultiColumn2D, Pie, Scatter, Line charts all in one batch. I'd like to designate specific charts in my XML perhaps? Is that possible or is there another way to accomplish this? >> Yes you can . Just try and see how easy it is. the XML structure for Single Series charts are different from Multiseires charts. You can get this all in our extensive Documentation. 4. The exported files need to be saved as PNG files. (that's working) >> This you already have achieved I suppose. If you have achieved in one. You can do it for all charts. 5. The exported PNGs need to be saved as individual images. I do not want time saved as one big collection of images. They must be separate PNG files. >> Yes, There is not server side batch as such. You need to call server side export for all charts individually. So, each chart gets exported to its own single individual file. 6. I am confident I can control the filenames as desired, however it appears that the SESSION ID and the TIMESTAMP are still getting added in if there is already a file there. The OVERWRITE isn't working as expected. What do I do to resolve that. I want an overwrite to occur. >> Still you can control. The export handler code is open source and its open to you. Please modify the generateIntelligentFileId() function in FCExporter.php as you wish and you are done. Also see the line calling this function: $retServerStatus ['filepath' ] = realpath($path). '/' . $exportFile . "_" . generateIntelligentFileId() . $ext; Modify this as per your requirements.
  20. Problem in batch export option(Urgent)

    Hi, Yes, located. your setting in XML is exportHandler='fcBatchExporter' whereas, your export component's id is this: var myExportComponent = new FusionChartsExportObject("fcExporter1", "FCExporter.swf"); Please change it to: var myExportComponent = new FusionChartsExportObject('fcBatchExporter', "FCExporter.swf"); And find its working like breeze....:Whistling: NOTE: you need to add the Id of the export component as exportHandler in the XML otherwize the chart wont be able to locate where to push the exported data!
  21. Problem in batch export option(Urgent)

    Hi, We are trying with your sent code and consuming lots of time in removing unwanted entries in order to make the code running. Instead of getting into the main issue, we are now editing unwanted code, just make the sample run. So, please help us too.
  22. Problem in batch export option(Urgent)

    Hi, Your implemented code (if you can scale down and attach here) will help us to help you out. Looking forward to debug your code.
  23. Gradient fills

    Hi, I am afraid, this feature is not available as of now.
  24. Problems in using Fusion Widgets v3 with Flex 3

    Hi, I sincerely apologize for a little miscommunication happened here. We have an individual core product built in Flash 8 (Action Script 2) called FusionWidgets. This does not work in AS3 (i.e. Flex) But, so that you can use charts and gauges (widgets) from FusionCharts/FusionWigets core packs in Flex, we have developed a solution called FusionCharts for Flex. This solution allows you to implementation amny of the gauges and charts (widgets) from FusionWidgets pack. The code that you have sent shows that you must be using FusionCharts for Flex.(which contains FusionWidgets too) So, the licensed version would work too. The "Error in Loading Data" might be some other issues which we would heatily like to look at and find you a solution as soon as possible. So, could you please freshly send us the code where you are getting this error and help us resolve the issue soon as possible and get your release as soon as possible. Please also make sure you have the latest version. Apologies again.
  25. axis max values

    Hi, I am afraid, this is not possible as of now.