3
回答
fushionchart在ie10下面图表显示不出来
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

我的FusionCharts JavaScript的版本信息如下

/*!
 * FusionCharts JavaScript Library
 * Copyright FusionCharts Technologies LLP
 * @license License Information at <http://www.fusioncharts.com/license>
 *
 * @author FusionCharts
 * @version 3.2.1-release
 *
 * Third-party attributions:
 * SWFObject v2.2 <http://code.google.com/p/swfobject/>
 * JSON v2 <http://www.JSON.org/js.html>
 * Firebug Lite 1.3.0 <http://getfirebug.com/firebuglite>
 * jQuery 1.4.2 <http://jquery.com/>
 */


我的图表在ie10下面就显示不了,其他浏览器可以


我的代码很简单

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>MyHtml.html</title>
    <script src="FusionCharts.js"></script>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
 
  <body>
    <div id="test"></div>
     <script type="text/javascript">
    var t = new FusionCharts("Column2D.swf","m","600","500");
    t.setDataURL("123.xml");
    t.render("test");
    </script>
  </body>
</html>

123.xml的如下

<?xml version="1.0" encoding="UTF-8"?>
<graph caption='告警情况(2015-07-25至2015-07-31)' xAxisName='各类告警' yAxisName='个数' showValues='1' numberPrefix='' decimalPrecision='0' formatNumberScale='0' formatNumber='0' bgcolor='F3f3f3' bgAlpha='70' showColumnShadow='1' divlinecolor='c5c5c5' divLineAlpha='60' showAlternateHGridColor='1' alternateHGridColor='f8f8f8' alternateHGridAlpha='60'>
<set name='1' value='563' color='FF0000' />
</graph>

举报
freedom2011
发帖于2年前 3回/299阅
顶部