Hello,
I am trying to add a chart legend to a PDF. I can add the chart but am
unable to add the legend.
Here is the code:
public class PDFreport extends PDF
{
....
public function addChart
(chart:VBox,pageNum:int,width:int,height:int,x:int,y:int):void
{
this.gotoPage(pageNum);
this.addImage( chart.getChildAt(0), x, y, width, height,
ImageFormat.PNG, 100, 1 ); // add chart
this.addImage( chart.getChildAt(1), x, 180, width, 20, ImageFormat.PNG,
100, 1 ); // add legend
}
...
the second addImage call is working.
Please advise,
Thanks,
Ariel Kornberg
Original issue reported on code.google.com by akornb...@gmail.com on 16 Jul 2009 at 5:04
Original issue reported on code.google.com by
akornb...@gmail.com
on 16 Jul 2009 at 5:04