Sign in to follow this  
kdnyegaard

Chart type not support IE only

Recommended Posts

Hi, 

 

I am running the latest version (just downloaded) of XT. The graphs display perfectly in Chrome, but not in IE (Edge, but I have tried all the way down to IE 8). In IE, I get "Chart Type not supported". 

 

Here is the code:

 

 <span id="chartContainer"  style="text-align:center">Chart loading </span>          
    <script type="text/javascript"><!--         
 
      var myChart = new FusionCharts( "Charts/StackedColumn3D.swf", 
      "myChartId", "700", "300", "0", "0" );
 
 myChart.setJSONData('{"chart": { "caption": "Messages sent by Sara", "subCaption": "Organization - The Virginia Workforce Network ", "xAxisName": "Week", "labeldisplay": "ROTATE", "slantLabels": "1", "yAxisName": "Alerts" }, "categories": [{ "category": [{"label" : "09/07/2013"},{"label" : "09/14/2013"},{"label" : "09/21/2013"},{"label" : "09/28/2013"},{"label" : "10/05/2013"},{"label" : "10/12/2013"},{"label" : "10/19/2013"},{"label" : "10/26/2013"},{"label" : "11/02/2013"},{"label" : "11/09/2013"},{"label" : "11/16/2013"},{"label" : "11/23/2013"},{"label" : "11/30/2013"},{"label" : "12/07/2013"},{"label" : "12/14/2013"},{"label" : "12/21/2013"}]}], "dataset": [{ "seriesname": "Emails", "data": [{"value": "321"},{"value": "1431"},{"value": "1184"},{"value": "933"},{"value": "324"},{"value": "427"},{"value": "321"},{"value": "311"},{"value": "284"},{"value": "275"},{"value": "239"},{"value": "153"},{"value": "0"},{"value": "0"},{"value": "0"},{"value": "0"}]},{"seriesname": "Text Messages", "data": [{"value": "387"},{"value": "1429"},{"value": "1169"},{"value": "1460"},{"value": "660"},{"value": "515"},{"value": "291"},{"value": "236"},{"value": "221"},{"value": "197"},{"value": "171"},{"value": "115"},{"value": "0"},{"value": "0"},{"value": "0"},{"value": "0"}]}]}')
 
myChart.render("chartContainer");
      
    // -->     
    </script> 
 
Any idea why IE complains? 

 

Share this post


Link to post
Share on other sites
Guest Rishab

Hi,

 

Can you please ensure that weather you are rendering JavaScript chart or Flash chart? The issue may be due to the missing or the version alteration of the necessary files in your directory.

 

Meanwhile, please try rendering the chart in the sample attached and share the result.

 

At my end using the code snippet you provided, the chart is rendering fine.

 

Hope this helps.

iE8.zip

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