Hi everyone!
I have problem again.
Im trying to print piechart. 
I have custom component (yhteenvetoPrintView) where i have pie chart.
If i add dataprovider from other piechart i dont see piechart. But if
i create static data to yhteenvetoPrintView i can see pie. 

Is printing too fast that piechart dont have time to get data or
something like that.

Please help!

This is what how I try to print:

var printJob:FlexPrintJob = new FlexPrintJob();

if(printJob.start()) {


     var yhteenveto:yhteenvetoPrintView = new yhteenvetoPrintView();
                    
     addChild(yhteenveto);
     yhteenveto.saatavuusPie.dataProvider =  
                          toimVarmuusPie.dataProvider;

     printJob.addObject(yhteenveto);
    
     printJob.send();
    
     removeChild(yhteenveto);

}else{
     return;
}

Reply via email to