我有一个由高级数据网格和任意图表组成的仪表板。我的打印功能似乎只打印数据网格而不是图表。请看下面的代码。
public function PrintDashboard():void{
printJob = new FlexPrintJob(); // calls the dialog
if(printJob.start()) // Starts when the user presses ok
{
printJob.addObject(dashPreview,FlexPrintJobScaleType.MATCH_WIDTH); // the object you want to add, and the scaling you want to apply
printJob.send(); // Send everything to the printers.
}
}
请帮助打印任何图表对象。谢谢你。