bagus sutan Report post Posted January 24, 2010 Thanks for helping me out here. The code works fine now and the problems are solved. Case closed. Once again Thank You very much. Regards, Bagus Sutan Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted January 24, 2010 Hi Bagus, You are most welcome. Gald to help you. Happy FusionCharts. Share this post Link to post Share on other sites
AlejandroM Report post Posted May 31, 2011 (edited) Dear FusionCharts Team. Hello. I have just starter developing on FusionChart and I have a question. I have some Temperature Historics Data stored on a DataBase. Historics Data could be for example: Date/Time, Value (Celsius deg.) 31/05/2011 10:50:25, 5.41 31/05/2011 10:52:43, 5.87 31/05/2011 10:55:07, 5.23 31/05/2011 11:17:22, 5.88 31/05/2011 11:23:49, 6.35 31/05/2011 11:28:38, 5.86 31/05/2011 15:12:06, 6.26 As you can see there is no any constant time interval for the data, no time period. Actually the temperature monitoring device stores data only when a significant variation of the temperature has been occurred otherwise no data is stored meaning that the temperature has been remained constant or with no significant variation. The accuracy/resolution/quality of the graph will depend of the significant variation configuration set on the device which will make it determine if a significant variation of the temperature has occurred and therefore store a (Date/Time, Value) data point. My question is: Is it possible to plot (Date/Time, Value) data points that have no constant time interval in a Graph/Chart?. I have been checking some examples, but all I have found are examples with a defined time interval for all XML data (data every second or every hour, etc.). The most nearly useful chart I have discovered and I think can help me to do what I need to do is the Scatter.swf chart where you can put points at any place of the graph.But I haven't fount a way to make the X-axis a time-axis. If such thing is possible I will really appreciate any help or advice to solve my problem. I have another problem to solve. The Temperature Data stored on the DataBase and the FusonCharts web page that I am developing will be living on the same server, I think there would not be any problem if using JSON request for retrieving all the Temperature Historics data and draw it. Here comes the real problem. After loading the web page and the Historics Temperature Data from the server, I need to retrieve the Real Time Live monitoring data from the temperature monitoring device that is a small electronic device capable of responding any HTTP get request (CGI based). As you can see there will be necessary cross domain Ajax requests to retrieve the live monitoring data. I already have the JSONP cross domain libraries (using Mootools JSONP) to retrieve the real time live monitoring data. If there is no other way to retrieve the cross domain live monitoring data but using the JSONP Mootools libraries that I have, My question is: After retrieving the cross domain data, How can I update the graph with a new (Date/Time, Value) point? Thank for your attention and my best regards. Hi Bagus, You are most welcome. Gald to help you. Happy FusionCharts. Edited May 31, 2011 by AlejandroM Share this post Link to post Share on other sites
nklineg Report post Posted March 9, 2012 How would I go about having a cylinder chart without real time updates? I have no references to RealTimeData.asp, or any flags to enable real-time... I have the following: <script type="text/javascript"> var myChart = new FusionCharts("./images/fusioncharts/gadgets/Charts/Cylinder.swf", "myChartId", "240", "240", "0", "0"); myChart.setXMLUrl("./xml/xml.reporting.php?pct_value=20"); myChart.render("chartdiv"); </script> And in the XML content: <chart plotGradientColor='FFFFFF' plotFillRatio='65' showValues='1' chartLeftMargin='10' chartRightMargin='0' plotSpacePercent='40' placeValuesInside='1' decimals='0' formatNumberScale='0' showBorder='0' showYAxisValues='0' bgColor='FFFFFF' showPlotBorder='0' baseFontColor='202020' canvasBorderColor='FFFFFF' numberSuffix='%' toolTipBgColor='FDFDA8'> But I'm getting 404 errors every second for RealTimeData.asp. [Fri Mar 09 13:20:58 2012] [error] [client 10.98.20.173] File does not exist: /var/www/html/vp_dev/main/RealTimeData.asp, referer: https://vpdev.nam.nsroot.net/main/images/fusioncharts/gadgets/Charts/Cylinder.swf Any suggestions? I just want a static graph without the errors. Share this post Link to post Share on other sites
Guest Sumedh Report post Posted March 12, 2012 Hi, You can pass only .xml file in the setXMLUrl function. Here you are trying to pass a .php file. For creating a simple cylinder gauge, please read more here: http://docs.fusioncharts.com/widgets/Contents/?FirstChart/FirstChart.html You would need to generate a XML file for the cylinder gauge. And you would need to copy the .SWF into the specified folder. For more information, read more here: http://docs.fusioncharts.com/widgets/Contents/?FirstChart/FirstChart.html Hope this helps. Share this post Link to post Share on other sites
nklineg Report post Posted March 20, 2012 Hi, You can pass only .xml file in the setXMLUrl function. Here you are trying to pass a .php file. For creating a simple cylinder gauge, please read more here: http://docs.fusioncharts.com/widgets/Contents/?FirstChart/FirstChart.html You would need to generate a XML file for the cylinder gauge. And you would need to copy the .SWF into the specified folder. For more information, read more here: http://docs.fusioncharts.com/widgets/Contents/?FirstChart/FirstChart.html Hope this helps. Thank you for your reply. The PHP file is not my problem... It uses XML headers and is basically a dynamic XML document, I've had success with this for almost 4 years using FusionCharts. My problem is, I see 404 errors in my apache logs for a missing file named 'RealTimeData.asp'. Is there a setting to disable real time lookup refreshing? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted March 21, 2012 Hi, You would need to remove the "dataStreamURL" and "refreshInterval" attributes from the XML file, that you have generated. Hope this helps. Share this post Link to post Share on other sites