stranieroinpatria

Members
  • Content count

    16
  • Joined

  • Last visited

Everything posted by stranieroinpatria

  1. Can't Use Javascript Apis

    Hi all, I had a problem to use anyone of the api's described in the documentation about FusionWidgets( http://www.fusioncha...m/widgets/docs/ ).The error was always ".... is not a function". I can use just setDataXML and setDataURL. Then I tried to create a very simple page to understand wich is the problem: Include FusionCharts.js v3 and create the function used for clear the chart... <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>PulseFCTry</title> <script type="text/javascript" src="./custom/js/FusionCharts.js"></script> <script type="text/javascript"> function clearChart(){ chart=FusionCharts("fusionLineHOST00M"); chart.clearChart(); } </script> </head> ...after that I create the Chart and rendered it into a div (flag JS to 1) <body> <div id="divprova"></div> <script type="text/javascript"> var myChart = new FusionCharts( "./chart/RealTimeStackedArea.swf" , "fusionLineHOST00M" ,"520","200","0","1"); myChart.setDataXML('<chart dataStreamURL="/ws/fusionLineUpd?idChart=" refreshInterval="5..........etc.......); myChart.render('divprova'); </script> <input type="button" onclick="clearChart()" value="Submit"> </body> The result on click is "chart.clearChart is not a function" Why?? PS. I'm running the site from a local server not from filesystem
  2. Can't Use Javascript Apis

    http://www.fusioncharts.com/widgets/docs/ Data-streaming charts > JavaScript API
  3. Can't Use Javascript Apis

    Hi, thank's for your reply. Use getChartFromId helps how?I can retrieve the reference of FusionCharts. I'm asking about this methods explained in the documentation: http://www.fusioncha...m/widgets/docs/ How can I use that?
  4. Can't Use Javascript Apis

    After a week that I've posted this question (another thread opened is http://forum.fusioncharts.com/forum/30-jvscript-problems/) nobody gave me a response SO the only conclusion I can find is that the page of the documentation that explain the javascript methods for FusionWidgets is completely USELESS and there isn't any ways to use that. AM I WRONG?CAN SOMEBODY JUST GIVE ME A CLEAR ANSWER?This situation is a bit frustrating....
  5. Can't Use Javascript Apis

    Hi all, I had a problem to use anyone of the api's described in the documentation.The error was always ".... is not a function". I can use just setDataXML and setDataURL. Then I tried to create a very simple page to understand wich is the problem: Include FusionCharts.js v3 and create the function used for clear the chart... <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>PulseFCTry</title> <script type="text/javascript" src="./custom/js/FusionCharts.js"></script> <script type="text/javascript"> function clearChart(){ chart=FusionCharts("fusionLineHOST00M"); chart.clearChart(); } </script> </head> ...after that I create the Chart and rendered it into a div (flag JS to 1) <body> <div id="divprova"></div> <script type="text/javascript"> var myChart = new FusionCharts( "./chart/RealTimeStackedArea.swf" , "fusionLineHOST00M" ,"520","200","0","1"); myChart.setDataXML('<chart dataStreamURL="/ws/fusionLineUpd?idChart=" refreshInterval="5..........etc.......); myChart.render('divprova'); </script> <input type="button" onclick="clearChart()" value="Submit"> </body> The result on click is "chart.clearChart is not a function" Why??
  6. Can't Use Javascript Apis

    From a apache local server
  7. Can't Use Javascript Apis

    And how I can clear a chart or stop/restart the updates?? How can I use the Javascript APIs for Widget?They are explained in the documentation so I suppose there are some ways to use them..
  8. Can't Use Javascript Apis

    Please, it's extremely important!
  9. Can't Use Javascript Apis

    I'm interested to the Javascript APIs fo fusionwidget.. http://www.fusioncharts.com/widgets/docs/ DataStreaming charts -> Javascript APIs Am I wrong to think that there isn't Javascript classes for widget and for use those APIs just need FusionCharts.js?(v3) Thank's for your help!
  10. Hi all, I've a strange behaviour of FC on my pc. The problem is: I've built a page with a lot of FC.When I execute that on every host it works great but when I execute that on my pc the page is correctly displayed but all the FC are blocked on the view of the loading bar with the phrase "Loading chart.Please wait". The FC are the same on all the pc and I don't think is a permissions problem because the FC starting their execution but they are blocked on this view. When I try to look from a pc that can display the FC correctly the page on that host(with PC blocked) they are blocked too. So...anyone have some ideas?
  11. Fusioncharts Blocked "loading Chart.please Wait"

    First of all, thank's for your help. But I'm running from localhost (Apache web server),not from local. And how this settings could be the problem? This is the situation: Index.htm is the same,the libraries are the same,the charts too (It's on dropbox,a shared folder with automatic update) A = my pc B=another one A: localhost\index.htm -> FC blocked B: localhost\index.htm -> FC works fine B: ip_pc_A\index.htm ->FC blocked A:ip_pc_B\index.htm -> FC works fine ?!?!
  12. Fusioncharts Blocked "loading Chart.please Wait"

    All the FC are registered with javascript, I suppose the problem is not on the page(correctly displayed on the others pc) On my pc: -the page loaded on the localhost present all the FC blocked -if i try to see the page loaded on other host I can see it correctly!?!?! But the page,the web server,the charts are the same!(They're on a shared folder) Strange isn'it?
  13. Historical Data Management

    Hi all, I have just a question about this new release of FC. I want to know if now are managed the historical data retrieved by a chart from the server calls. At the moment (with the last version) when I reload the FC the data displayed were lost. Thank you!!
  14. Historical Data Management

    Hi,thank's for your attention. I've posted these question time ago http://www.fusioncharts.com/forum/Topic29890-15-1.aspx I want to know if now the problem is fixed
  15. Load Historical Data on first Load

    Hi all, I've a question about the first load of data. In a page I have a lot of fusioncharts inserted in portlets.When the portlet is moved,or collapsed,the fusioncharts is reloaded.In this way it lost the data displayed since that moment. So I want to find out a way to (on the first load) view the previous data displayed and then of course go on with the updating calls.. I've tryed with: chart dataUrl="/ws/fusionLineFirstLoad" dataStreamURL="/ws/fusionLineUpd" refreshInterval="20" numberPrefix="$" setAdaptiveYMin="1" xAxisName="Time" showRealTimeValue="0" realTimeValuePadding="50" labelDisplay="Rotate" slantLabels="1" useMessageLog="1" showShadow="0" showAreaBorder="0" I thought that in this way the first calls to retrieve data was fusionLineFirstLoad and after that it continued with fusionLineUpd but it not works (the first call dataUrl was ignored) The is an escape because the xml is built serverside.. I've tryed also: ......... dataset seriesName="Central Processor Complex" showValues="0" set value='70' set value='80' set value='90' alpha='90' set value='70' set value='80' ........ and don't work..... Any help will be appreciated!
  16. Load Historical Data on first Load

    Thank's for the help!Do you know when will be available that release? Just to understand if I can wait or might be better find another solution! Thank you