Added for exporting charts to images.
Added the ability to export charts as images.