Hello,
I am trying to use for the first time fusion chart, but getting this error:
Message : 'null' has null value or is not an object
Line : 250
Character : 5
Code : 0
URI : http://intranet/FusionCharts/JSClass/FusionCharts.js
here is my code:
<link rel="stylesheet" href="FusionCharts/Contents/Style.css" type="text/css" />
<script language="JavaScript" src="FusionCharts/JSClass/FusionCharts.js"></script>
</head>
<body>
<script language="JavaScript" type="text/JavaScript">
<!--
function showdiv(Did){
//alert(Did);
var maDiv = document.getElementById(Did)
if(maDiv.style.display == 'none'){
maDiv.style.display = 'block';
}
else{
maDiv.style.display = 'none';
}
}
//-->
</script>
<link rel="stylesheet" href="modules/Actionplan/stylesheets/default.css" type="text/css" />
<div id="columns">
<ul id="column1" class="column">
<li class="widget color-green">
<div class="widget-head">
<h3>Introduction </h3>
</div>
<div class="widget-content">
<p>'._WidgetIntro.' <script type="text/javascript">
var chart = new FusionCharts("FusionCharts/Charts/Column2D.swf", "ChartId", "500", "300", "0", "0");
chart.setDataURL("FusionCharts/Gallery/Data/Column2D.xml");
chart.render("chartdiv");
</script></p>
</div>
Any idea?