Rohit Kumar

Moderators
  • Content count

    11
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Rohit Kumar


  1. 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??


  2. 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


  3. 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.


  4. 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....


  5. 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. :)

    navigation.js.zip