poonam Report post Posted December 8, 2008 Hi all, I am using following function to print the graph: function exportChart(){ //Get chart from its ID var chartToPrint = getChartFromId("chart1Id"); chartToPrint.print(); } It gives me javascript error - Object doesn't support this property or method. Please help me in resolving this error. Thanks, Poonam Share this post Link to post Share on other sites
Rahul Kumar Report post Posted December 8, 2008 (edited) Hi, Could you please make sure that you are using registerwithJS=1 ? JavaScript chart render method: <script type="text/javascript"> var chart = new FusionCharts("MSStackedColumn2DLineDY.swf", "ChartId", "600", "350", "0", "1"); chart.setDataURL("data.xml"); chart.render("chartdiv"); </script> ASP.NET C# chart render method: FusionCharts.RenderChart("../FusionCharts/ScrollLine2D.swf", "Data/ScrollLine2D.xml", "", "myFirst", "600", "350", false, true); Edited December 9, 2008 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted December 8, 2008 Hi Poonam, Could you please check whether you are setting the RegisterWithJS parameter on when rendering the chart? Could you please also check whether the chart has been completed rendering before you are calling print() method? Share this post Link to post Share on other sites