pizichen

Members
  • Content count

    5
  • Joined

  • Last visited

Everything posted by pizichen

  1. no data to display

    Dear team: I use fusionchart with JSP/Servlet technology have a problem. I use jquery ajax send request, IE8 work well, but my friends use IE9 or Firefox, when page loaded, can not display the chart, the page give a message: "no data to display". Here is the index.jsp code: $.ajax({ type:"POST", url:"<%=request.getContextPath()%>/chartTime", success: function(responseText){ var chart = new FusionCharts("<%=request.getContextPath()%>/jquery/Column3D.swf", "Chart2", width, height); chart.setDataXML(responseText); chart.render("chartdiv1"); } }); Can you help me? Sorry to bother so late.
  2. Hi team: Recently the use of problem. About the caption text display. Any browser on the desktop computer are displayed well, but in Android TV, the caption text incomplete display, Appear the "..." character. The Android TV have 50 inch screen. This problem is very confused. Please see the comparison chart in the attach, thank you!
  3. no data to display

    Thank you for Haritha. I try alert the "responseText", it's a correct xml format data. Now, I try another method, It's works well, I feel so confuse! The modified code: var chart = new FusionCharts("<%=request.getContextPath()%>/jquery/Column3D.swf", "Chart1", width, height, "0", "0"); chart.setDataURL("<%=request.getContextPath()%>/chartTime"); chart.render("chartdiv1");
  4. Hi Team, I have a worry long problem. I using fusionMaps realizes some function. But when I click a state in the map, the custom JavaScript function not execute. Please help me. Thank You. Here is the html code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script language="javascript" src="FusionCharts.js"></script> <title>my map</title> <script language="JavaScript"> function myJS(myVar){ window.alert(myVar); } function setMap(){ var map = new FusionCharts('FCMap_China2.swf', "Map1Id", "800", "540", "0", "0"); map.setDataXML("<map showShadow='0' showBevel='1' showMarkerLabels='1' borderColor='00324A' fillColor='F0FAFF' hoverColor='C0D2F8' baseFont='Verdana' baseFontSize='12' markerBorderColor='000000' markerBgColor='FF5904' markerRadius='6' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1' showCanvasBorder='1' canvasBorderColor='f1f1f1' canvasBorderThickness='2' borderColor='00324A' hoverColor='C0D2F8'> <data> <entity id='CN.AH' displayValue='安徽' toolText='安徽,53台AC' color='FF0000' link='JavaScript:myJS(\"安徽\");'/><entity id='CN.SH' displayValue='上海' toolText='上海,53台AC' color='FF0000' link='JavaScript:myJS(\"上海\");'/> </data> </map>"); map.render("mapDiv"); } </script> </head> <body onload="setMap()"> <div id="mapDiv" align="center" style="margin:2px;">Test Map</div> </body> </html>
  5. Click invalid using fusionMaps

    Dear admin: Thank you very mush. I according to your method, when I set Flash Player's Global Security, the javascript funtion can works, I'm so happy. Now, only a question. When I click the state, alert characters incorrect. Look at this picture.