FusionCharts Support

Members
  • Content count

    2,097
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by FusionCharts Support

  1. using $strXML not working

    Hi, I dataXML special characters like
  2. [MySQL Chart] Values being shown multiple times

    Hi, This will need proper SQL Query where you can use LIMIT "SELECT * FROM tbl LIMIT 5,10" // this will show records fom 6 to 15 Ref : http://dev.mysql.com/doc/refman/5.0/en/select.html Now for each press of button you can reload the chart passing the limits to another file where the XML will be created from database. You can go through our PHP example...from Documentaion's 'Guide For Web Developers' section's -Using With PHP - PHP,JAvascript and DataURL page...for more insight on how to use that. http://www.fusioncharts.com/docs/Contents/PHP_JS_URL.html
  3. Different number formats for multi-series charts?

    Hi, You can set number formatting for secondary axis using sFormatNumber ,sFormatNumberScale,sDefaultNumberScale , sNumberScaleUnit , sNumberScaleValue , sNumberPrefix , sNumberSuffix ,sDecimals, sYAxisValueDecimals attributes in CHART element itself.
  4. Problem with Free version and XML string (dataURL/dataXML)

    Hi,For FusionCharts vFree the XML element names are a bit different from the v3 XML elements. 1. <chart> will be <graph> in FREE. 2. label will be name.
  5. Help! Map not working in my web program

    Hi,Up here your code works fine. I have opened the Map.html in Internet Explorer (6 & 7) and Firefox and its showing it fine. Currently its showing North Carolina map. Can you please elaborate on the problem you are facing so that we can help you out of your situation quickly.
  6. JS Example + DB connection??

    Hi, You can see our Online Documentions's Guide For Web Ddevelopers sections - Using With ASP - ASP, JavaScript & dataURL page or ASP, JavaScript & dataXML for ASP & Database and Javascript integration. http://www.fusioncharts.com/docs
  7. [MySQL Chart] Values being shown multiple times

    Hi , Try using this SQL query for the first SQL Query String "select distinct user_id,name from va_orders" YOu can even optimize the SQL to put all in a single SQL Query with out the need to second query result. We did that for demonstration purpose. can use this "select name, sum(order_total) from va_orders group by name" The code may look like this: $strQuery = "select name, sum(order_total) from va_orders group by name"; $result = mysql_query($strQuery) or die(mysql_error()); if ($result) { while($ors = mysql_fetch_array($result)) { $strXML .= "<set label='" . $ors['name'] . "' value='" . $ors['OrderTotal'] . "' />"; } }
  8. Help! Map not working in my web program

    compress your HTML, JS and map SWF files in a zip/rar file and attach while replying this thread. YOu will find EDIT ATTACHMENTS button bellow while entering your text.
  9. Font style

    HI, there u go.. <styles> <definition> <style name='MyFirstFontStyle' type='font' bold='1' face='Verdana' size='12' color='FF0000' bgColor='FFFFDD' isHTML='1' /> </definition> <application> <apply toObject='DATALABELS' styles='MyFirstFontStyle' /> <apply toObject='DATAVALUES' styles='MyFirstFontStyle' /> </application></styles> It has all font bold set...as well as settings for font type, color, font background color size etc.
  10. Printing broken in Safara and Firefox

    Hi Rightly said regarding the dimenstion. We have tested theese safe dimenstion where the charts prints fully across browsers. Width- height: 300 - 450 400 - 300 500 - 250 600 - 220 700 - 210 800 - 200 See how inversely proportional it comes down. We have requested our Production Team to look into this matter.
  11. setDataXML method does not refreshes data in IE

    hi, Can you please check the similar AJAX sample from : http://www.fusioncharts.com/forum/Topic2576-28-1.aspx#bm2797
  12. Gantt Chart Categories not working?

    Hi, Change the <category start='7/10/2007 00:00:00' to start='7/10/2007 05:00:00' in two instances (categories having label 'monday' & Morning)
  13. Links on charts (links on bars, and link on canvas)

    Hi, Try this trick...(this one is for DataURL) <chart caption="<a href='http://www.InfoSoftGlobal.com' >Monthly Unit Sales</a>" xAxisName="Month" > <set label="Jan" value="462" link="http://www.fusionCharts.com"/> <set label="Feb" value="857" /> <set label="Mar" value="671" /> <styles> <definition> <style name='LinkCaption' type='font' isHTML='1' /> </definition> <application> <apply toObject='Caption' styles='LinkCaption' /> </application> </styles> </chart> For DataXML- <chart caption='%26lt;a href=%26apos;http://www.InfoSoftGlobal.com%26apos; %26gt;Monthly Unit Sales%26lt;/a%26gt;' xAxisName='Month' > <set label='Jan' value='462' link='http://www.fusionCharts.com'/> <set label='Feb' value='857' /> <set label='Mar' value='671' /> <styles> <definition> <style name='LinkCaption' type='font' isHTML='1' /> </definition> <application> <apply toObject='Caption' styles='LinkCaption' /> </application> </styles> </chart> Happy hacking...
  14. Problems with Fusion Charts in Windows 2003 Server R2

    Hi, May be you can try removing the '& vbCrLf' that you have appended after each concatinating line...as in ... strFCXMLData = "<graph caption='Cliente - " & Cliente & "' shownames='1' showvalues='0' decimalPrecision='0' numberPrefix=''>" & vbCrLf strFCXMLData = strFCXMLData & "<set name='" & DS.Tables("Ventas").Rows(i).Item("Tipo") & "' value='" & DS.Tables("Ventas").Rows(i).Item("Total") & "' color='" & strColor(i Mod 9) & "'/>" & vbCrLf
  15. Problems with Fusion Charts in Windows 2003 Server R2

    Hi, YOu can also have the XML in a textarea like this .. <textarea rows='50' cols='50'><%=getFCXMLData() %></textarea> and check whether the XML is rendered fine. Moreover you need to see if the flash player 6 or above is installed and have permission to run.
  16. ASP.NET Ajax UpdatePanel

    HI, Here is a simple sample using FusionCharts in ASP.NET.AJAX Update Panel ... try this and explore more and let us know. We are currently developing more samples on various aspects and facets of UpdatePanel and ASP.NET.AJAX... we will publish them soon... Developers eager to share their experiences of failure and success while using FusionCharts in Update Panel and ASP.NET.AJAX may post too. FusionCharts.ASP.Net.AJAX.zip
  17. ASP.NET Ajax UpdatePanel

    Hi, try using renderChartHTML() instead of RenderChart()
  18. asp.net c# - invalid xml

    Hi, Every thing seems ok .... except the numberSuffix='%' please use %25 (URL encoded value of %) instead (numberSuffix='%25') Hope all will wokr fine then.
  19. ASP.NET Ajax UpdatePanel

    Hi, some where you are using the fusionCharts javascript embedding method...i.e. var c1=new FusionCharts(..,"mapID1",..); c1.setDataURL(...) or c1.setDataXML(...); c1.render(divID); if(!document.embeds["mapID1"]) window["mapID1"]=document.getElementById("mapID1");
  20. APPENDING # ON APPLICATION TITLE

    Hi, search your code ... may be some where you have < a HREF="#" ...> Solution : < a HREF="void(0);" > CLICK HERE < /a >
  21. "getChartFromID is not defined"

    Hi, Here is a simple AJAX sample using FusionCharts and ASP. Read Post : http://www.fusioncharts.com/forum/Topic2576-28-1.aspx#bm2797
  22. setDataURL inconsistency

    Hi, For the reference of FusionCharts Javascript class's Constructure parameters.. FusionCharts("SWF PATH+NAME","ChartId","WIDTH","HEIGHT","DebugMode ON/OFF(values= 1/0)", "RegisterWithJS(1/0)") For DebugMode please visit :http://fusioncharts.com/docs/Contents/Debug/window.html For Register with JS please visit : http://fusioncharts.com/docs/Contents/JS_Overview.html
  23. Help! Map not working in my web program

    Hi, Please check these pointer : 1. Are you also putting the Data.xml file on the same folder? 2. Do you have the swf file in the same folder ? 3. Is your JavaScript setting is set off for your Browser? 4. Do you have Flash Player 8 or above? IF all is ok can you please send us the screen shot of the things that you are getting? You can also send us the the HTML file along with all the other related files (FusionCharts.js, swf, XML file ) so that we can debug.
  24. surely, What was missing was that the onclick events will pass the suffix values ..tahts a must... and the function receiving that sufix value in proper order...i mean see the example below..we are passing the suffix as second argument, hence we will receive as seceond agrument in the functon declaration .... for 3 different suffixes we will need 3 links.. all you need to do are : HTML part : 1. onclick="updateChart('ChartId1','foo');" 2.onclick="updateChart('ChartId1','bar');" 3.onclick="updateChart('ChartId1','blort');" JAvascript part : function updateChart(DOMId,suffix){ var chartObj = getChartFromId("MyChart"); chartObj.setDataURL("/MyXML_" + suffix + ".xml");
  25. Help! Map not working in my web program

    Hi, Use <script language='javascript' type='text/javascript' src='FusionMaps.js'></script> after keeping the FusionMaps.js file in the same folder of the HTML file.