Rahul Kumar

L1 Moderators
  • Content count

    1,253
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Rahul Kumar

  1. Not able to print

    Hi, Please see this for BOM character: http://en.wikipedia.org/wiki/Byte-order_mark
  2. XML get from Dragnode after submit

    Hi, Could you please put both XML into FILEs then send it to us, instead of posing XML string?
  3. save as image in fc

    Hi, Could you please elaborate more on this?
  4. Hi, The above method is working fine with all the UTF-8 characters. However please send us your code, so that we can debug it for the issue.
  5. Setting minimum value in X-Axis

    Hi, It is not possible as of now. Please try using null values to the <set> element, this will make X-Axis label hidden and reserves the space for the null value, also just after that when you add another value to <set> element, it will come after the previous value (by making some distance). Example: <chart> .... ..... ... <set value='10' label='12:10' /> <set ...... <set ...... <set ...... <set value='' /> or <set /> <set value='30' label='12:60' /> <set ...... ...... ...... </chart> This might solve your issue.
  6. Not able to print

    Hi, Could you please try adding these new byte[]{(byte)0xEF, (byte)0xBB, (byte)0xBF} characters at the begning of your XML string?
  7. Hi, I am afraid, trendline is not supported in Multi-Series Column 3D Line Dual Y Chart.
  8. Hi, Also showFCMenuItem='0' in <chart> element will remove "About FusionCharts" from menu.
  9. The enable scolling is not working~

    Hi, Could you please elaborate more on this, because we are getting the scroll duration 14 as you have specified in the XML. Please see the attached image.
  10. Some labels not showing in 2D pie chart with smartlabels

    Hi, Could you please try using startingAngle='-10' attribute in <chart> element?
  11. Problems with "&" in xml file

    Hi, Please see to this: http://www.fusioncharts.com/forum/FindPost10935.aspx
  12. Invalid XML data

    Hi, Please use this code: public string GetFactorySummaryChartHtml() { //In this example, we show how to connect FusionCharts to a database. //For the sake of ease, we've used an Access database which is present in //../App_Data/FactoryDB.mdb. It just contains two tables, which are linked to each //other. //xmlData will be used to store the entire XML document generated StringBuilder xmlData = new StringBuilder(); //Generate the chart elementxmlData.Append( "<chart caption='' subCaption='OUTSTANDING RECOMMENDATIONS ' pieSliceDepth='30' showBorder='' showYAxisValues='0' formatNumberScale='0' numberSuffix=''>"); //Create recordset to get details for the factories //string factoryQuery = " SELECT Count(Recommendations) as TotNo FROM recommendations WHERE Complete = "No" , Count(Recommendation) as TotYes FROM recommendations WHERE Complete = "Yes"" ; string factoryQuery3 = "SELECT location.LocationName, recommendations.Complete, Count(*) as TotQ FROM recommendations INNER JOIN inspection ON recommendations.InspectionID = inspection.InspectionID INNER JOIN location ON inspection.LocationID = location.LocationID WHERE Complete ='Outstanding' GROUP BY recommendations.Complete,location.LocationName"; DbConn oRs = new DbConn(factoryQuery3); //Iterate through each record while (oRs.ReadData.Read()){ xmlData.AppendFormat( "<set label='{0}' value='{1}' />", (oRs.ReadData["LocationName"].ToString()), oRs.ReadData["TotQ"].ToString()); //xmlData.AppendFormat("<set label='{0}' value='{1}' />", oRs.ReadData["Complete"].ToString(), oRs.ReadData["TotQ"].ToString());} oRs.ReadData.Close(); //Close chart elementxmlData.Append( "</chart>"); //Create the chart - Pie 3D Chart with data from xmlData //return FusionCharts.RenderChart("FusionCharts/Bar2D.swf?noCache=5", "", xmlData.ToString(), "FactorySum3", "400", "150", false, false);return Server.HtmlEncode(xmlData.ToString()); } The above code will display the XML data.
  13. Hi, I am afraid, it won't work because link's J- functionality is not implemented in widgets till now.
  14. show tooltip when entire gauge is a hotspot

    Hi, I am sorry, it is not possible as of now.
  15. Cannot open the downloaded Image

    Hi, You would need to make chart transparent, and also, need to use bgalpha='0' in the XML in <chart> element. Please download the attached file, I have added a new parameter to createChart function, i.e. setTransparent, use it as follows: String chartCode= createChart("../../FusionCharts/Pie3D.swf", strDataURL, "", "FactorySum", 600, 300, false, false,true); also in the XML's [chart ] element, please add bgAlpha='0'. FusionCharts.zip
  16. Add anchors (or marker points)

    Hi, You could try using Scatter chart.
  17. Add motion chart to FusionGadgets

    Hi, Thanks for your suggestion, we will look for it.
  18. How can I convert this code?

    Hi, You would need to add imagesave='1' and imagesaveURL='{URL to FusionChartsSave.xxx}' into <chart> element. Also please read the docs here: http://www.fusioncharts.com/docs/Contents/SAISetting.html
  19. Cannot open the downloaded Image

    Hi, For 1 and 2nd please see this: 1. You could not pass file name to FusionChartsSave.jsp. Otherwise you would need to include your file name in the query string of imageSaveURL, like the following: a. imageSaveURL="{path}/FusionChartsSave.jsp?filename=MSColumn2D.png&refurl={path to exportchart.jsp}" for MSColumn2D.xml b. imageSaveURL="{path}/FusionChartsSave.jsp?filename=MSLine.png&refurl={path to exportchart.jsp}" for MSLine.xml c. imageSaveURL="{path}/FusionChartsSave.jsp?filename=MSArea2D.png&refurl={path to exportchart.jsp}" for MSArea2D.xml d. imageSaveURL="{path}/FusionChartsSave.jsp?filename=Pie2D.png&refurl={path to exportchart.jsp}" for Pie2D.xml and after that need to modify FusionChartsSave.jsp as follow: File F=new File("/{path}/"+request.getParameter("filename")); Also at the end please append this (just after chart=null); response.sendRedirect(request.getParameter("refurl")); 2. and 3. is not possible as of now.
  20. is it possible to get the charts from pdf?

    Hi, There are lots of FREE, Open Source PFD Creator utility available on the internet, just need make a google search for it.
  21. Tooltip/Data point/Vline issue

    Hi, Please increase the chart width once and then try again.
  22. Invalid XML data

    Hi, Could you please send us the complete code along with the generated XML, also please let us know the chart SWF name that you are using?
  23. Printing in Firefox

    Hi, The printing issue is related with FireFox, and there is no any solutions till now. You could use our FusionCharts DOM, that is completely based on JS, you could use FusionCharts DOM, instead of PHP API. Please see: http://www.fusioncharts.com/DOM
  24. scroll column2d singles set

    Hi, You could add color attribute in all <set.../> element, which will make each column in different color. Example: <chart.....> <categories> ..... ...... </categories> <dataset> <set color='{color code}' value.... /> <set color='{color code}' value.... /> <set color='{color code}' value.... /> <set color='{color code}' value.... /> ... .... ... </dataset> </chart>
  25. Displaying discontinues data

    Hi Could you please try using <set value='' /> or <set /> if you have null data, also if you want to connect these null data then you could use connectNullData='1' attribute in <chart> element.