Sign in to follow this  
Guest Basundhara Ghosal

invalid xml data?

Recommended Posts

Seem to get an error with xml for a bubble charts.. any ideas?

<html>

<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="http://www.mywebsite.com/Fusion/Charts/Bubble.swf" />

 

 

<param name="FlashVars" value="&dataXML=<chart palette='3' numberPrefix='$' is3D='1' animation='1' clipBubbles='1' xAxisMaxValue='100' showPlotBorder='0' xAxisName='Stickiness' yAxisName='Cost Per Service' chartRightMargin='30'>

 <categories>

  <category label='0%' x='0' />

  <category label='20%' x='20' showVerticalLine='1' />

  <category label='40%' x='40' showVerticalLine='1' />

  <category label='60%' x='60' showVerticalLine='1' />

  <category label='80%' x='80' showVerticalLine='1' />

  <category label='100%' x='100' showVerticalLine='1' />

 </categories>

 <dataSet showValues='0'>

  <set x='30' y='1.3' z='116' name='Traders' />

  <set x='32' y='3.5' z='99' name='Farmers' />

  <set x='8' y='2.1' z='33' name='Individuals' />

  <set x='62' y='2.5' z='72' name='Medium Business Houses' />

  <set x='78' y='2.3' z='55' name='Corporate Group A' />

  <set x='75' y='1.4' z='58' name='Corporate Group C' />

  <set x='68' y='3.7' z='80' name='HNW Individuals' />

  <set x='50' y='2.1' z='105' name='Small Business Houses' />

 </dataSet>

 <trendlines>

  <line startValue='2.5' isTrendZone='0' displayValue='Median Cost' color='0372AB' />

  </trendlines>

 <vTrendlines>

  <line startValue='0' endValue='60' isTrendZone='1' displayValue='Potential Wins' color='663333' alpha='10' />

  <line startValue='60' endValue='100' isTrendZone='1' displayValue='Cash Cows' color='990099' alpha='5' />

  </vTrendlines>

  </chart>">

 

 

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

</object>

</body>

</html>

Share this post


Link to post
Share on other sites

The issue I'm having is with using the dataXML method, not dataURL like your example (and without javascript). Seems to work with every other chart type it seems except bubble. Thanks for your reply

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

 

 

We have made a sample chart using your XML with the dataXML method for you. Could you please have a look at the attached ZIP and see if it's of any help?

 

 

 

Looking forward to your feedback on this.

 

 

 

Hope this helps. :D

Bubble Chart.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