scottdparker

Dataxml Multi-Series Chart

Recommended Posts

Hi,

 

I am trying to user the free version to create a dataXML type chart, but I cannot get it working. Can someone please look at my code and see what I am doing wrong.

 

Thank you.

 

<html>

<body bgcolor="#ffffff">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width="600" height="500" id="Column3D" >

<param name="movie" value="../FusionCharts/FCF_MSColumn2D.swf?chartWidth=600&chartHeight=500" />

<param name="FlashVars" value="&dataXML=<graph xaxisname='Child's Age' yaxisname='Projected Cost of 4 Years' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='0' yAxisMaxValue='100' numdivlines='9' divLineColor='CCCCCC' divLineAlpha='80' decimalPrecision='0' showNames='1' showValues='0' showAlternateHGridColor='1' AlternateHGridAlpha='30' AlternateHGridColor='CCCCCC' caption='Projected Average Costs for Four Years at Public and Private Colleges' subcaption='' numberPrefix='$' >

<chart>

<categories font='Arial' fontSize='11' fontColor='000000'>

<category name='Infant' hoverText='Infant' />

<category name='1' />

<category name='2' />

<category name='3' />

<category name='4' />

<category name='5' />

<category name='6' />

<category name='7' />

<category name='8' />

<category name='9' />

<category name='10' />

<category name='11' />

<category name='12' />

<category name='13' />

<category name='14' />

<category name='15' />

<category name='16' />

<category name='17' />

<category name='18' />

</categories>

<dataset seriesname='Public' color='FDC12E'>

<set value='226444' />

<set value='213626' />

<set value='201534' />

<set value='190127' />

<set value='179365' />

<set value='169212' />

<set value='159634' />

<set value='150598' />

<set value='142074' />

<set value='134032' />

<set value='126445' />

<set value='119288' />

<set value='112536' />

<set value='106166' />

<set value='100156' />

<set value='94487' />

<set value='89139' />

<set value='84093' />

<set value='79333' />

</dataset>

<dataset seriesname='Private' color='56B9F9'>

<set value='519011' />

<set value='489633' />

<set value='461918' />

<set value='435772' />

<set value='411106' />

<set value='387835' />

<set value='365882' />

<set value='345172' />

<set value='325634' />

<set value='307202' />

<set value='289813' />

<set value='273409' />

<set value='257933' />

<set value='243333' />

<set value='229559' />

<set value='216565' />

<set value='204307' />

<set value='192742' />

<set value='181832' />

</dataset>

</chart>

</graph>">

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

<embed src="../FusionCharts/FCF_MSColumn2D.swf?chartWidth=600&chartHeight=500" flashVars="&dataXML=<graph xaxisname='Child's Age' yaxisname='Projected Cost of 4 Years' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='0' yAxisMaxValue='100' numdivlines='9' divLineColor='CCCCCC' divLineAlpha='80' decimalPrecision='0' showNames='1' showValues='0' showAlternateHGridColor='1' AlternateHGridAlpha='30' AlternateHGridColor='CCCCCC' caption='Projected Average Costs for Four Years at Public and Private Colleges' subcaption='' numberPrefix='$' >

<chart>

<categories font='Arial' fontSize='11' fontColor='000000'>

<category name='Infant' hoverText='Infant' />

<category name='1' />

<category name='2' />

<category name='3' />

<category name='4' />

<category name='5' />

<category name='6' />

<category name='7' />

<category name='8' />

<category name='9' />

<category name='10' />

<category name='11' />

<category name='12' />

<category name='13' />

<category name='14' />

<category name='15' />

<category name='16' />

<category name='17' />

<category name='18' />

</categories>

<dataset seriesname='Public' color='FDC12E'>

<set value='226444' />

<set value='213626' />

<set value='201534' />

<set value='190127' />

<set value='179365' />

<set value='169212' />

<set value='159634' />

<set value='150598' />

<set value='142074' />

<set value='134032' />

<set value='126445' />

<set value='119288' />

<set value='112536' />

<set value='106166' />

<set value='100156' />

<set value='94487' />

<set value='89139' />

<set value='84093' />

<set value='79333' />

</dataset>

<dataset seriesname='Private' color='56B9F9'>

<set value='519011' />

<set value='489633' />

<set value='461918' />

<set value='435772' />

<set value='411106' />

<set value='387835' />

<set value='365882' />

<set value='345172' />

<set value='325634' />

<set value='307202' />

<set value='289813' />

<set value='273409' />

<set value='257933' />

<set value='243333' />

<set value='229559' />

<set value='216565' />

<set value='204307' />

<set value='192742' />

<set value='181832' />

</dataset>

</chart>

</graph>" quality="high" width="600" height="500" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

</object>

</body>

</html>

Share this post


Link to post
Share on other sites

Hi Scott,

 

Welcome to FusionCharts forum.

 

Please find the attached modified file.

 

I hope this helps. :)

 

 

 

 

 

Hi,

 

I am trying to user the free version to create a dataXML type chart, but I cannot get it working. Can someone please look at my code and see what I am doing wrong.

 

Thank you.

 

<html>

<body bgcolor="#ffffff">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width="600" height="500" id="Column3D" >

<param name="movie" value="../FusionCharts/FCF_MSColumn2D.swf?chartWidth=600&chartHeight=500" />

<param name="FlashVars" value="&dataXML=<graph xaxisname='Child's Age' yaxisname='Projected Cost of 4 Years' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='0' yAxisMaxValue='100' numdivlines='9' divLineColor='CCCCCC' divLineAlpha='80' decimalPrecision='0' showNames='1' showValues='0' showAlternateHGridColor='1' AlternateHGridAlpha='30' AlternateHGridColor='CCCCCC' caption='Projected Average Costs for Four Years at Public and Private Colleges' subcaption='' numberPrefix=' >

<chart>

<categories font='Arial' fontSize='11' fontColor='000000'>

<category name='Infant' hoverText='Infant' />

<category name='1' />

<category name='2' />

<category name='3' />

<category name='4' />

<category name='5' />

<category name='6' />

<category name='7' />

<category name='8' />

<category name='9' />

<category name='10' />

<category name='11' />

<category name='12' />

<category name='13' />

<category name='14' />

<category name='15' />

<category name='16' />

<category name='17' />

<category name='18' />

</categories>

<dataset seriesname='Public' color='FDC12E'>

<set value='226444' />

<set value='213626' />

<set value='201534' />

<set value='190127' />

<set value='179365' />

<set value='169212' />

<set value='159634' />

<set value='150598' />

<set value='142074' />

<set value='134032' />

<set value='126445' />

<set value='119288' />

<set value='112536' />

<set value='106166' />

<set value='100156' />

<set value='94487' />

<set value='89139' />

<set value='84093' />

<set value='79333' />

</dataset>

<dataset seriesname='Private' color='56B9F9'>

<set value='519011' />

<set value='489633' />

<set value='461918' />

<set value='435772' />

<set value='411106' />

<set value='387835' />

<set value='365882' />

<set value='345172' />

<set value='325634' />

<set value='307202' />

<set value='289813' />

<set value='273409' />

<set value='257933' />

<set value='243333' />

<set value='229559' />

<set value='216565' />

<set value='204307' />

<set value='192742' />

<set value='181832' />

</dataset>

</chart>

</graph>">

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

<embed src="../FusionCharts/FCF_MSColumn2D.swf?chartWidth=600&chartHeight=500" flashVars="&dataXML=<graph xaxisname='Child's Age' yaxisname='Projected Cost of 4 Years' hovercapbg='DEDEBE' hovercapborder='889E6D' rotateNames='0' yAxisMaxValue='100' numdivlines='9' divLineColor='CCCCCC' divLineAlpha='80' decimalPrecision='0' showNames='1' showValues='0' showAlternateHGridColor='1' AlternateHGridAlpha='30' AlternateHGridColor='CCCCCC' caption='Projected Average Costs for Four Years at Public and Private Colleges' subcaption='' numberPrefix=' >

<chart>

<categories font='Arial' fontSize='11' fontColor='000000'>

<category name='Infant' hoverText='Infant' />

<category name='1' />

<category name='2' />

<category name='3' />

<category name='4' />

<category name='5' />

<category name='6' />

<category name='7' />

<category name='8' />

<category name='9' />

<category name='10' />

<category name='11' />

<category name='12' />

<category name='13' />

<category name='14' />

<category name='15' />

<category name='16' />

<category name='17' />

<category name='18' />

</categories>

<dataset seriesname='Public' color='FDC12E'>

<set value='226444' />

<set value='213626' />

<set value='201534' />

<set value='190127' />

<set value='179365' />

<set value='169212' />

<set value='159634' />

<set value='150598' />

<set value='142074' />

<set value='134032' />

<set value='126445' />

<set value='119288' />

<set value='112536' />

<set value='106166' />

<set value='100156' />

<set value='94487' />

<set value='89139' />

<set value='84093' />

<set value='79333' />

</dataset>

<dataset seriesname='Private' color='56B9F9'>

<set value='519011' />

<set value='489633' />

<set value='461918' />

<set value='435772' />

<set value='411106' />

<set value='387835' />

<set value='365882' />

<set value='345172' />

<set value='325634' />

<set value='307202' />

<set value='289813' />

<set value='273409' />

<set value='257933' />

<set value='243333' />

<set value='229559' />

<set value='216565' />

<set value='204307' />

<set value='192742' />

<set value='181832' />

</dataset>

</chart>

</graph>" quality="high" width="600" height="500" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedi.../getflashplayer" />

</object>

</body>

</html>

sample.html

Share this post


Link to post
Share on other sites

Thank you so much Radis,

 

That helped a lot. At least it fixed it, and I have gone thru trying to make my original match yours and mine still does not work.

I noticed you removed the <chart></chart> tags, removed the font details in <categories> tag and removed quality="high" within the <embed> tag.

 

Am I missing something else that you did or am I just missing your magic touch?

 

I really do appreciate your taking the time to help me :)

 

-Scott

 

 

 

 

Hi Scott,

 

Welcome to FusionCharts forum.

 

Please find the attached modified file.

 

I hope this helps. :)

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

 

Glad to know your issue is resolved :).

 

Happy FusionCharting!

 

 

 

Thank you so much Radis,

 

That helped a lot. At least it fixed it, and I have gone thru trying to make my original match yours and mine still does not work.

I noticed you removed the <chart></chart> tags, removed the font details in <categories> tag and removed quality="high" within the <embed> tag.

 

Am I missing something else that you did or am I just missing your magic touch?

 

I really do appreciate your taking the time to help me :)

 

-Scott

 

 

 

 

 

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