Damodharan

Members
  • Content count

    5
  • Joined

  • Last visited

Everything posted by Damodharan

  1. Hi using fusion chart pure Javascript charts for android version 3 and above some times the chart rendering properly. some times will get Chart Loading message onl. for example we render the chart in android 4.0 Some times the chart render properly int he same device some times the same chart is not loading we get simply Loading Charts! what is the issue ? Code: <!DOCTYPE html><html><head><script type="text/javascript" src="file:///android_asset/www/charts/fus/FusionCharts.js"></script></head><body><div id="chartspan" style="width:150px; height:236px;">Loading Charts!</div><script type="text/javascript">function jsCallDrillDown(filename) { Android.jsLoadDrillDownXml(filename); }var dataFile = "/mnt/sdcard/data.xml" ;FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts("file:///android_asset/www/charts/Charts/Column2D.swf", "Sample","100%","100%","0", "1" ); myChart.setXMLUrl(dataFile);myChart.render("chartspan");</script></body></html> above some times can able to render properly some times problem with Loading chart! message
  2. Problem With Char Loading Android

    Hi , The problem from loading the javascript. Could you try to enable the javascript s from your browser or write the javascript stuffs inside <HEAD> Tag ..
  3. HI, We have to change the chart properties from HTML using JavaScript's. I provide one sample here. Please guide me to handle to change the chart properties <html> <head> <title>Update Chart data</title> <script type="text/javascript" src="charts/FusionCharts.js"> </script> </head> <body> <div id="chartContainer">FusionCharts will load here!</div> <script type="text/javascript"><!-- var myChart = new FusionCharts( "charts/Column3D.swf", "myChartId", "800", "600", "0", "1" ); myChart.setXMLUrl("data.xml"); myChart.render("chartContainer"); function showData(format) { var chartReference = FusionCharts( "myChartId" ); //alert( chartReference.getXMLData() ); //alert( "=="+chartReference.getChartData('xml') ); // alert( chartReference.getDataAsCSV()) } // --> </script> <input type="button" onClick="showData('xml');" value="Show XML Data"> </body> </html> DATA FILE <chart palette="3" useRoundEdges="1" animation="0" Flash_Movie="FC_COLUMN_2D.swf" showLabels="1" showValues="1" showSum="1" rotateValues="0" placeValuesInside="0" caption="Column Chart" subCaption="" xAxisName="" yAxisName="" decimals="0" FormatNumberScale="0" FormatNumber="1" legendPosition="BOTTOM" ThousandSeparator="," DecimalSeparator="." forceDecimals="1" showPercentValues="0" showPercentInToolTip="0"> <set label="Q1" value="3700" /> <set label="Q2" value="2900" /> <set label="Q3" value="3200" /> <set label="Q4" value="3900" /> </chart> for this Chart we have to change the chart animation from 1 to 0 and showLabels from 1 to 0 like that we have to change some chart properties from inside HTML using javascript
  4. HI , we tried to use FusionCharts to render the chart with android 2.2 , 2.3 up to android 4. os versions. But we ca not able to use the same javascript file for all the android version. For example FusionCharts.js (version : fusioncharts/3.2.3-sr1) we used this only support from android 3.0 and above .. that Js file not supported android 2.2 and 2.3 how to solve that any once give guidance to handle. Thank you