|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 7/4/2007 4:50:32 AM
Posts: 4,
Visits: 6
|
|
Is it possible to surface the printChart function of the Chart class to Javascript via the ExternalInterface? This would allow us to present an alternative interface to print from (link, button...) outside of the chart.
It's not very intuitive to ask the user to right-click and then select print, to print a chart. And as you have noted in several posts - you aren't responsible for browser printing (which isn't reliable across browsers).
You should only need to add this line to the Chart constructor:
/**
* expose printChart function to Javascript
*/
flash.external.ExternalInterface.addCallback("PrintChart", this, printChart);
Thanks,

Steven
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 2/17/2008 5:11:16 AM
Posts: 17,
Visits: 23
|
|
| Great suggestion!. I really miss the ability to print by scripting. /Hans
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
Currently, we do not have this option. However, we'll add it in our next version.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|