Sign in to follow this  
Goinfory

Fusion Charts setCurrentRenderer('javascript') issue

Recommended Posts

I have the following HTML code host at hostforlife.eu and it's working:

<html>
<head> 
<title>My First chart using FusionCharts - Using pure JavaScript</title> 

<script type="text/javascript" src="http://www.fusioncharts.com/lib/jquery/jquery-1.6.2.min.js"></script>
<script language="JavaScript" src="http://www.fusioncharts.com/lib/js/FusionCharts.js"></script>
<script language="JavaScript" src="http://www.fusioncharts.com/lib/js/FusionCharts.HC.js"></script>
<script language="JavaScript" src="http://www.fusioncharts.com/lib/js/FusionCharts.HC.Charts.js"></script>
<script language="JavaScript" src="http://www.fusioncharts.com/lib/js/jquery.min.js"></script>

</head>
<body> 
<div id="chartContainer">FusionCharts will load here!</div> 
<script type="text/javascript">

//FusionCharts.setCurrentRenderer('javascript');
var chartObj = new FusionCharts({
swfUrl: "http://www.fusioncharts.com/demos/gallery/Charts/Column2D.swf",
width: "500",
height: "300",
id: 'sampleChart',
dataSource: "http://www.fusioncharts.com/demos/gallery/Data/Col2D1.xml",
dataFormat: FusionChartsDataFormats.XMLURL,
renderAt: 'chartContainer'
}).render();

</script> 
</body> 
</html>

When I use the setCurrentRenderer javascripde mode. It gives me "no data to display".

Please help me. Thank you!

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the forum post.

 

We have tested at our end but could not encounter any such issue. We tested it with version 3.3.1 SR3 files.

 

However, if you are specifically trying to use JavaScript charts, we would recommend you to upgrade to out latest version where all charts are rendered as pure JavaScript charts. Starting version 3.4 flash has been deprecated in FusionCharts and all charts since all rendered as pure JavaScript charts.

 

Hope the information is helpful.

 

If you require any further assistance, please do drop us a mail at [email protected]

 

Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this