Sign in to follow this  
tolgagu@garanti.com.tr

Column3D Chart

Recommended Posts

I put the xml containing the following

[code ]

<chart caption='Monthly Revenue' xAxisName='Month' yAxisName='Revenue' numberPrefix='$' showValues='0'>

 <set label='Jan' value='420000' />

 <set label='Feb' value='910000' />

 <set label='Mar' value='720000' />

 <set label='Apr' value='550000' />

 <set label='May' value='810000' />

 <set label='Jun' value='510000' />

 <set label='Jul' value='680000' />

 <set label='Aug' value='620000' />

 <set label='Sep' value='610000' />

 <set label='Oct' value='490000' />

 <set label='Nov' value='530000' />

 <set label='Dec' value='330000' />

 

 <trendLines>

<line startValue='700000' color='009933' displayvalue='Target' />

 </trendLines>

 

</chart>

[/ code ]

as the source to the html, however when I try to start the html I get 'No Data to Display' error. I am using MSColumn3D.swf. This is the simplest graph. If I put datasets and categories in it it shows fine... Any ideas?

Edited by Guest

Share this post


Link to post
Share on other sites

my html is:

 [ code ]

<html>

<head>

  <title>My First FusionCharts</title>

</head>

<body bgcolor="#ffffff">

  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="900" height="300" id="Column3D" >

<param name="movie" value="C:GEN76GenModelsGARyyy0414.iefcFusionMSColumn3D.swf" />

<param name="FlashVars" value="&dataURL=Column3D.xml&chartWidth=900&chartHeight=300">

<param name="quality" value="high" />

<embed src="C:GEN76GenModelsGARyyy0414.iefcFusionMSColumn3D.swf" flashVars="&dataURL=Column3D.xml&chartWidth=900&chartHeight=300" quality="high" width="900" height="300" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

  </object>

</body>

</html>

[/ code ]

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello :),

 

 

 

If your chart shows a "No data to display" message, it could be the following scenarios:

 

 

 

1. Your XML data doesn't contain any data that could be plotted by FusionCharts. In this case, your XML just contains the or tags without any data between them.

 

 

 

2. You might be using a single-series chart SWF and providing data in multi-series format or vice-versa. In this case too, you'll get "No data to display" message.

 

 

 

3. In some Dual Y Combination charts, you need to provide atleast one data-set for both the axis. Otherwise, you'll get a "No data to display" message.

 

 

 

In your case, the message indicates the first option, where there is no data provided. As you have checked yourself, if you provide the datasets, it works fine. :)

 

 

 

I hope this helps.

Share this post


Link to post
Share on other sites

Jajdoop,

I am using a Column3D chart and it's a single series chart. If you have a look at the contents xml I posted it has

...<set label='Jan' value='420000' />

 <set label='Feb' value='910000' />....

data provided. You indicated that I didn't provide any data..?

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

This is Rajroop. :)

 

 

 

In the first post you've mentioned that the SWF file you are using is a MSColumn3D.swf. It being a Multi-series chart, you would have to use the <dataset> element to input your data.

 

 

 

The following is the data input format for a Single-series chart.

 

...<set label='Jan' value='420000' />

 

<set label='Feb' value='910000' />....

 

 

 

Please check which SWF file you are using and then enter your data in the proper format.

 

 

 

I hope this helps. :)

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey :),

 

 

 

Glad you got the problem solved. We are always happy to be of help.

 

 

 

Also, no apologies needed here. :)

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