ganiganesh

Members
  • Content count

    38
  • Joined

  • Last visited

Everything posted by ganiganesh

  1. Removing Chartid

    its working.Thanks a lot.
  2. Removing Chartid

    My requirement is that when I click on each segment on multipiechart I should have to refresh 6 angular graphs with the corresponding data, figure is shown in attachment. I am generating 6 charts using dojo Ajax dynamically as shown below. <BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"> function ajaxLink(divID, url,chartIDM) { alert(chartIDM); var dataContainer = document.getElementById(divID); dojo.io.bind( { url: url, content: { ajax:true, engine: 'dojo' }, load:function(type, data, event) { dataContainer.innerHTML = data; var myAjax = new FusionCharts("AngularGauge.swf",chartIDM,"265", "135", "0", "0"); myAjax.setDataXML(data); myAjax.addParam("WMode", "Transparent"); myAjax.render(divID); } }); } calling the above functionlike ajaxLink('chartdiv1',encodeURI(str),'myChartIdB1') ajaxLink('chartdiv2',encodeURI(str),'myChartIdB2') …………….. ajaxLink('chartdiv6',encodeURI(str),'myChartIdB6') <BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"> I am generating chart in the above function by passing unique div and chart ids. If I go for click on another segment on multipiechart it’s giving me the error like chartid is already exists so please rename it. My worry is how I can generate unique chart ids for each segment of multipiechart? As you suggested, I would like to dispose the old chart instances then I think it works for me Please guide me how to dispose in my ajax function? Thanks in advance
  3. Removing Chartid

    Thanks for your reply. where should i put the code which u send? can i use that in jsp?
  4. Hi Team, i am using the below code to get the chart using setJSONData method but getting script error "object doesnot support this property or method". i got that it is problem with fusioncharts.js file as there is no such method. i have followed your suggestion provided in similar topic Please download the latest FusionCharts i.e v 3.2.1 from : http://www.fusioncharts.com/download/ but i am unable to find setJSONData method in downloaded fusioncharts.js as well.i also checked for this method in FC3.2.2 js file but no such method. can you please provide me the solution? <script type="text/javascript"> var chart = new FusionCharts("../content/charts/MultiAxisLine.swf", "ChartId", "740", "231", "0", "0"); chart.setJSONData('{ "chart": { "caption": "Sample", "showborder": "0", "linethickness": "1", "bgcolor": "#FFFFFF", "showvalues": "0", "formatnumberscale": "0", "labeldisplay": "ROTATE", "slantlabels": "1", "rotatevalues": "1", "divlinecolor": "#FFFFFF", "borderthickness": "0", "alternatehgridcolor": "FCB541", "alternatehgridalpha": "20", "divlinealpha": "50", "canvasbordercolor": "666666", "basefontcolor": "3E3E3F" } }'); chart.render("chartdiv"); </script>
  5. Setjsondata Is Not Working

    Thanks for your links. i am using fusion charts and power charts in my application so the following js files need to be used 1)FusionCharts.js 2)jquery-min.js 3)Fusion-HC.js 4)FusionCharts-HC-Chart.js (FusionCharts) 5)FusionCharts-HC-PowerChart.js(Power Charts) i dont worry about the 4 and 5 because unique files for fusion and power charts which i will copy from respective Charts folders. Q1) Files 1,2 and 3 should be copied from which charts folder as they are having different sizes in FusionCharts XT --> Charts and PowerCharts --> Charts Q2)After upgrading to FusionCharts XT can i use the old version swf files for fusion/power charts? Q3) i am not getting power chart (multiaxisline chart) in MAC os which is working fine in other OS.no extra spaces,double quotes,duplicate attributes in XML but its showing invalid data. can you please provide me the solution?
  6. Setjsondata Is Not Working

    its working fine now after copying fusioncharts.js,FusionCharts-HC.js ,FusionCharts-HC-Chart.js ,jquery-min.js from charts folder as you suggested in documentation. my doubt is that 1)can we use same FusionCharts.js,jquery-min.js,Fusion-HC.js file for fusion charts and power charts? because we have FusionCharts-HC-Chart.js for fusion chart and FusionCharts-HC-PowerChart.js for power charts. 2) do i have to use same js files for XML or JSON methods?
  7. Hi, i am using fusioncharts3.1 for my applications. i have used clickURL to provide click option for my chart. its working perfectly until i download excel report in my jsp page. when i download report i would be getting an error like 'Internet Explorer can not download unspecified error'. i had gone through the forums for solution n got like 'upgrade to v3.0.7 ---> link='j-myfunction()'. my version is 3.1 so why i am getting this problem for clickURL attribute.Can you please provide me the solution for this? code: <chart palette='1' clickURL='javascript:getContinuous()'> chart: scatter chart
  8. well... my javascript method is function getContinuous() { //some stuff } so i am calling script from clickURL attribute like <chart clickURL='j-getContinuous()'> and also tried <chart clickURL='j-getContinuous'> but its not working...
  9. Hi, i am using version 3.1 can you confirm me that j-prefix works for clickURL attribute in chart tag? i have tried it but it was not working.. As u said j-prefix works for link attribute in set tag but my scenerio would not click on data element tag instead of that clicking on entire chart....
  10. i have tried it like clickURL='j-getContinuous()' but in that case not getting popup for that chart if i put clickURL='javascript:getContinuous()' getting popup and also network error after excel download... hope J-prefix works for link attribute but not for clickURL it would be great if you provide me an other solution ....
  11. Can anyone please provide me the solution?
  12. yeah i referred those posts in which they had given a solution for popup window and for link attribute but in my case it is clickURL attribute for chart tag....
  13. Hey sudipto.. could you please look in to this issue and provide me some solution as it is really urgent...

    My Post:http://forum.fusioncharts.com/topic/11131-internet-explorer-cannot-dowload-and-unspecified-error/page__p__43458__hl__unspecified+error__fromsearch__1#entry43458

    You had resolved unspecified error for link attribute but wat is the solution for clickURL in chart tag?

  14. Hey rahul.. could you please look in to this issue and provide me some solution as it is really urgent...

    My Post:http://forum.fusioncharts.com/topic/11131-internet-explorer-cannot-dowload-and-unspecified-error/page__p__43458__hl__unspecified+error__fromsearch__1#entry43458

  15. Can you please give solution for my problem?