pizichen

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by pizichen


  1. 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!

    post-48655-0-53934800-1382518075_thumb.jpg


  2. Hi,

     

    If you are able to see the charts on IE 8 and not on IE9 or Firefox then please check if your chart is receiving any data to plot on IE 9 or Firefox. If you are using Flash charts, switch on the debug mode and check if your chart is getting any data from Ajax request to plot the data. Refer: http://docs.fusioncharts.com/charts/contents/Debug/Window.html

     

    Alternatively, you may try alerting the "responseText" to check if data is being received from your response. 

     

    If this does not solve your problem, send me your sample code replicating the problem for a better look into it.

     

    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");


  3. 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.

     


  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>