How can we copy the pie chart in to mail attachment