Ayan Pal

Moderators
  • Content count

    106
  • Joined

  • Last visited

Posts posted by Ayan Pal


  1. Hi Pdaniel,

    Thanks for you reply.

    "RenderChartHTML " method directly write the embed/object code to add a flash object in a page. so when there has no flash it will so the plugins missing message.

    Where as the JavaScript rendering is handled by the FusionCharts JavaScript rendering method, which checks if there has no flash and the users want to render the js chart if there has no flash then it render the chart in JavaScript mode.

    But the "RenderChart" method write the JavaScript rendering method in the page which render the chart using JavaScript.

     

    To debug the charts in JavaScript you may refer to this link http://www.fusioncharts.com/docs/Debug/JS.html


  2. Hi,

    Thanks for your post.

    Could you please post the generated XML (You may change the values for security) .

    you may get the XML from page view source or by printing the $FC->getXML(); into a text area.

     

    also you may check few things->

    1> There has no attribute repeat in any XML tag

    2> You are using all latest JS files(supplied with our Power Charts pack).

    3> All JS files are placed as where as it is required.


  3. Hi Scipio,

    Thanks for you reply.

    Could you please try few things to point out the issue.

    1. create a simple HTML sample of your page with prototype.js and FusionCharts .js included.

    Then try to render a JavaScript chart in you page which will load the jQuery.js and Highcharts,js in your page.

    Then after rendering the chart track the "$" in firebug whether it point to jQuery or not.

    If "$" still point to jQuery then post us the sample in zipped form to printout the issue.

    OR.

    2. Add jQuery.js after prototype.js and then add another script tag of "jQuery.noConflict();" then add FusionCharts.js in your page.

    In that case FusionCharts will not add jQuery as it is already exist.


  4. Hi Scipio,

    Thank you for your post.

    How are you adding jQuery and prototype in page?

    Make sure prototype is added before FusionCharts.js and FusionCharts will dynamical add Highcharts.js and jQuery.js from the Chart folder if necessary.

    If your page required jQuery too then add that script also before FusionCharts.js.

    also make sure that you are using the latest JS files that is released with the PowerCharts pack.


  5. Hi,

    It shows that in your looping condition for the data value is not adding any set.

    To trace this issue you may echo the values generating inside the loop->if/else block then you will able to get the situation what is exact flow of the program.

    also echo the final $strXML inside any text-area of the page so that you will fiend the final XML generated by your php code.

    If the XML generating in the code is fine then please revert back with XML from the php code


  6. Hi Satish ,

     

    The code you have posted is not complete and also has database query that's why we are unable to test it .

    so if possible you may post

    1. live url or html sorce of your page which will be available from page's "context menu " => "view page source" option

    2. a HTML scale down sample where the issue is exist

    3. a php sample[without database query] which has the issue.

    also you can check yourself from your page's HTML source whether there has any variable or chart with the same id.


  7. Hi Satish ,

     

    Thank You For Your Post.

     

    This Error Shows That You Have same Chart ID for more than one Chart or any global JavaScript Variable that has same name as your chart id.

    To Check this you may see your page's source code. or you can send us the HTML version scale-down sample of this issue.


  8. Hi Chetan,

     

    Thanks For your post.

     

     

    Please make sure that you are using the latest JavaScript Files.

    If still the issue exist then please send us the XML for the chart generated in your server side code.

     

    2. I am calling a javascript function on click of bar chart. In flash, the function is getting called on single click, but in iPad, I have to double click on the chart. Single click displays the value. Is there a way to get the javascript function to be called on single click?

     

    Ipad user interface detect mouse over for the first tap and click for the next tap. This is an internal behavior of ipad browser to get the usability of mouse over and mouse click event without a mouse.


  9. Hi Merveleb,

     

    If you don't provide the chart id then a session variable will be used to creat unic chart id. and after usiong any session if uoy again start the session then it will through a warning.

    so please provide a id for the chart.

     

    example

     

    $FC= new FusionCharts("Column3D, "350", "250", 'CHARTID');