public function getImgSnapshot():void{
var imgSnapshot:ImageSnapshot=ImageSnapshot.captureImage(_areaChart, 120, new PNGEncoder());
var fileRef:FileReference=new FileReference();
fileRef.save(imgSnapshot.data, "chart.png");
}
public function getImgSnapshot():void{
var imgSnapshot:ImageSnapshot=ImageSnapshot.captureImage(_areaChart, 120, new PNGEncoder());
var fileRef:FileReference=new FileReference();
fileRef.save(imgSnapshot.data, "chart.png");
}