O'Reilly logo

FusionCharts by Shamasis Bhattacharya, Pallav Nadhani, Sanket Nadhani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — customize the export component attributes

  1. Duplicate the previously created ExportUsingContextMenu.html and save as CustomizeClientSideExport.html.
  2. Open the CustomizeClientSideExport.html file within a text editor of your choice, and replace the export component instantiation code (lines 13 to 14) with the following updated code, essentially passing a third parameter for customizing various aspects of the export component:
    exportComponentObj = new FusionChartsExportObject("exportComponent", "../FusionCharts/FCExporter.swf", { btnSaveTitle: "Save Report", width: "130", height: "22", btnWidth: "100", btnHeight: "22", vMargin: "0" });
    
  3. Within the loadReport function, (at around line 26) delete the line exportComponentObj.Render("exporterContainer");.This ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required