tvasea Report post Posted July 15, 2008 (edited) 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 Edited July 15, 2008 by Guest Share this post Link to post Share on other sites
Rahul Kumar Report post Posted July 16, 2008 (edited) Hi, Could you please tell us that your URL "http://11.21.21.21:100" is the Sharepoint's URL & also that the piedata.aspx is in same domain? Edited July 16, 2008 by Guest Share this post Link to post Share on other sites
tvasea Report post Posted July 16, 2008 (edited) 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 Edited July 16, 2008 by Guest Share this post Link to post Share on other sites
tvasea Report post Posted July 16, 2008 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 Share this post Link to post Share on other sites
Guest Rajroop Report post Posted January 7, 2011 Hello Tvasea, We proudly announce the release of FusionCharts for SharePoint in beta. FusionCharts for SharePoint helps you create interactive & data-driven charts in SharePoint, without having to write a line of code. The charts are created using a wizard and can connect to various data sources such as SharePoint Lists, CSV, MS SQL, Oracle, Excel & BDC. You can add drill-down and export capabilities to each chart and configure both cosmetic and functional aspects. You can download the fully-functional version from www.fusioncharts.com/sharepoint - we would love to have your feedback on this. Please post your suggestions and any bugs as replies to the forum thread at: FusionCharts for SharePoint beta impression Share this post Link to post Share on other sites