Sign in to follow this  
Pallav

Chart does not display

Recommended Posts

Newbie question. I attempted a simple 3D chart. Followed the steps as in documentation. But the chart does not display either in browser or PPT. What am I doing wrong? Platform: Windows XP, IE7, PPT 2003.

xml:

- <html>
- <head>
  <script language="JavaScript" src="FusionCharts.js" />
  </head>
- <body bgcolor="#ffffff">
- <!--

  --> 
  <div id="chartdiv" align="center">FusionCharts</div>
  <script type="text/javascript">var myChart = new FusionCharts("Column3D.swf", "FusionCharts_1", "450", "300", "0", "0"); myChart.setDataURL("Data.xml"); myChart.render("chartdiv");</script>
- <!--

  --> 
  </body>
  </html>
 
Data.xml:
 
<chart caption="Povert Declined in Yemen" subcaption=") ???? ?? ??????? ?? ???? ??? " palette="1">

 <set label="1998" value="41.0" />

 <set label="2005" value="35.0" />

</chart>

Share this post


Link to post
Share on other sites

Data.xml:
<?xml version="1.0" encoding="GBK" ?>
<chart caption="Povert Declined in Yemen" subcaption=") ???? ?? ??????? ?? ???? ??? " palette="1">

 <set label="1998" value="41.0" />

 <set label="2005" value="35.0" />

</chart>

 

GBK => your lan Character Set

try it

sorry my English is so bad

Share this post


Link to post
Share on other sites

Thanks guys. But my problem is basic. Even withour Arabic caption, the chart does not display in browser or Powerpoint. I use IE7 with ActiveX content allowed. If you can, please send me a folder with data.xml, chart.xml for a simple 3Dcolumn chart. I will add the necessary jave file and attempt to open it in IE. It must be some simple thing missing.....

tgsrini

Share this post


Link to post
Share on other sites

Ok, made progress to display the chart. But the Arabic sub-caption is reversed - the words in the phrase I pasted appear left to right. I encoded in UTF-8 as advised. Now, what should I do to get the correct ordering of words in Arabic ?

Data.xml

<?xml version=="1.0" encoding="UTF-8"?>

<chart caption="Poverty Declined in Yemen" subcaption="????? ????? ?? ?????" palette="1">

 <set label="1998" value="40.0" />

 <set label="2005" value="35.0" />

</chart>

Share this post


Link to post
Share on other sites

I'm afraid FusionCharts supports only LtoR languages. As such, you'll have to programatically reverse the sequence of characters in your word, before providing it to FusionCharts.

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey there,

 

 

 

We've just released a new and free add-in for PowerPoint that lets you add FusionCharts very easily to your slides. Check out oomfo @ http://oomfo.com

 

 

 

Would love to have your feedback/suggestions. :P

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