Rohit Kumar
-
Content count
11 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Rohit Kumar
-
-
Hi,
Please make sure that the FCExporter.php is in the same domain and there is no blank lines within the <?php ?> tag in export modules php files.
Thanks rohit....that works....but when i use call back method, firebug console shows this error " try { __flash__toXML(FC_Exported(({sta...leName:"null",height:0,width:0,<br />\n"....and callback is not happening.... google search didn't give solution to this.....
Any idea??
-
Hi,
You are most welcome.
Keep smiling and keep FusionCharting.
Thanks for your quick reply Rohit.
I have resolved the problem. I started again from scratch (creating a new directory structure) which seemed to do the trick, also I used relative paths instead of the full path to the required files.
Many thanks
-
Hello,
Welcome to FusionCharts forum.
Please make sure that the path of FusionCharts.js, FusionCharts.php and Column3D.swf files are correct.
Hope this helps.
Hi, I am new to Fusion Charts. I have an issue when trying the examples on a linux machine (it worked fine previously on windows). When I load the chart from the browser, all I get is the word "Chart" and nothing else.
If I load an .swf file from the /Charts sub-directory then the graphs display, which means I definitely have flash installed. Here is the code that isn't working:
<?php //We've included ../Includes/FusionCharts.php, which contains functions //to help us easily embed the charts. include("/srv/www/htdocs/site/php/fc/FusionCharts.php"); ?> <HTML> <HEAD> <?php //You need to include the following JS file, if you intend to embed the chart using JavaScript. //When you make your own charts, make sure that the path to this JS file is correct. Else, you //would get JavaScript errors. ?> <script LANGUAGE="Javascript" SRC="/srv/www/htdocs/site/php/fc/FusionCharts_Evaluation/Charts/FusionCharts.js"></SCRIPT> <TITLE>FusionCharts - Simple Column 3D Chart</TITLE> </HEAD> <BODY> <?php //Create the chart - Column 3D Chart with data from Data/Data.xml echo renderChart("/srv/www/htdocs/site/php/fc/FusionCharts_Evaluation/Charts/Column3D.swf", "/srv/www/htdocs/site/php/fc/test.xml", "", "myFirst", 600, 300, false, true); ?> </BODY> </HTML>
Can anyone tell me what the problem could be? Many thanks.
-
Hi Satish,
If you want to send C-24 as a string you have to put it inside quotation $var = "C-24"; and than send it to the function.
Hey all,
K now how do i send a variable that has something like $var = C-24.
I tried to do the same as before but no luck..
Please let me know this.
thanks,
satish
-
Please make sure that FusionCharts.js included in you page and try.
Hope this helps
Thanks a lot...thats working now... but it is working when context menu option is selected, but when i tried to use chartid.exportChart(), it is throwing exportChart is not a function error....I have to save it using javascript api and then I wanna embed the image to the report....
-
Hello,
Please make sure that the path of exportHandler='FCExporter.php' is correct and there is a little modification you need to do in FCExporter.php like
define ( "SAVE_PATH", "./" ); Place your folder path here.
define ( "HTTP_URI", "http://www.yourdomain.com/images/" ); Define your HTTP Mapping Url here.
Hope this solves your purpose.
Looking forward to your feedback on the same.
-
Hello,
This is happening because you are using same color for each , could you please try using an array containing different colors to show in the columns.
Ex:
$color = array("F6BD0F", "E38217", "8B8B00", "1C86EE", "6600FF");
$i=0;
$strXML .= "";
$i++;
hope this helps.
-
Hi,
When you are using AJAX navigation, the Chart does not work because, AJAX does not support the parsing of the <script> tag so scripts in your code are ignored. To make charts render on your page using navigation you have to evaluate the scripts. To do so we have made some modification in your navigation.js file and attached the modified file with this post please use this file and let us know it is working or not.
Hope this helps.
-
Hello,
Could you please try including FusionCharts.js in index.php and let us know it is working or not.
Awaiting your reply.
-
Hi,
We have tested with your xml, its working fine and we have created a sample for your with the xml you send us. Please find attached files for the working sample. Hope this helps.
Fusioncharts And Elasticsearch
in General usage
Posted · Report reply
Hello Milan,
Welcome to FusionCharts Forum!
FusionCharts does not support post data request internally as of now.
So you need to fetch the data using JavaScript Ajax post request, and then update the data to the Chart.
Please refer to the attached sample.
sample.zip