<% 'We've included ../Includes/FusionCharts.asp, which contains functions 'to help us easily embed the charts. %> FusionCharts - Using Managed Print <% 'You need to include the following JS file, if you intend to embed the chart using JavaScript. 'Embedding using JavaScripts avoids the "Click to Activate..." issue in Internet Explorer 'When you make your own charts, make sure that the path to this JS file is correct. Else, you 'would get JavaScript errors. %>

Multiple Charts on the same page. Setting up manged-print for better printing in Mozilla based browsers.

<% ' This function injects a small JavaScript code in the page that enables print manager ' Print manager collets imaga data from each chart and converts it to canvas image and keep it hidden under the original chart ' When mangedPrint(), window.print() or File menu -> print is invoked the canvas images are printed instead of opriginal charts Call FC_EnablePrintManager(True) %> <% 'Create the chart - Column 3D Chart with data from Data/Data.xml Call renderChart("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "chart1", 600, 300, false, true) %>

<% 'Now, create a Column 2D Chart Call renderChart("../../FusionCharts/Column2D.swf", "Data/Data.xml", "", "chart2", 600, 300, false, true) %>

<% 'Now, create a Line 2D Chart Call renderChart("../../FusionCharts/Line.swf", "Data/Data.xml", "", "chart3", 600, 300, false, true) %>

Charts are not ready for managed print. Please wait.