tvasea

Members
  • Content count

    3
  • Joined

  • Last visited

Everything posted by tvasea

  1. Sharepoint usage

    Hi, I'm trying to use FusionCharts from sharepoint using and external page for data. The Sharepoint it's displaying the chart ok when I have this code <div id='FactorySumDiv' align='center'> Chart. </div> <script type="text/javascript"> var chart_FactorySum = new FusionCharts("_layouts/FusionCharts/FCF_Pie3D.swf", "FactorySum", "650", "450", "0", "0"); chart_FactorySum.setDataXML("<graph caption='Factory Output report' subCaption='By Quantity' decimalPrecision='0' showNames='1' numberSuffix=' Units' pieSliceDepth='30' formatNumberScale='0'><set name='Factory 1' value='644' /><set name='Factory 2' value='2644' /><set name='Factory 3' value='1252' /></graph>"); chart_FactorySum.render("FactorySumDiv"); </script> but not when <div id='FactorySumDiv' align='center'> Chart. </div> <script type="text/javascript">var chart_FactorySum = new FusionCharts("_layouts/FusionCharts/FCF_Pie3D.swf","FactorySum", "650", "450", "0", "0");chart_FactorySum.setDataURL("http://11.21.21.21:100/piedata.aspx"); chart_FactorySum.render("FactorySumDiv"); </script> I get "Error in loading Data" If I run the url in browser and view source I get one line with <graph caption='Factory Output report' subCaption='By Quantity' decimalPrecision='0' showNames='1' numberSuffix=' Units' pieSliceDepth='30'formatNumberScale='0'><setname='Factory 1' value='644'/><setname='Factory 2' value='2644'/><setname='Factory 3' value='1252' /></graph> (It's a valid XML) Thanks
  2. Sharepoint usage

    Problem solved Solution <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="400" id="Column3D" > <param name="movie" value="_layouts/FusionCharts/FCF_Pie3D.swf" /> <param name="FlashVars" value="&chartWidth=600&chartHeight=400&DataURL=http://11.21.21.21:100/piedata.aspx"> </object> So... I wanted to display charts in Sharepoint , grabbing data from an ERP using some asp.net pages Thanks
  3. Sharepoint usage

    I found a quick fix I added the crossdomain.xml file to the data website. The second website is on the same server with SharePoint but a different website in IIS using a different port. Now I have a different problem like this from here http://www.fusioncharts.com/forum/Topic6090-32-1.aspx