implemented interactive chart to image conversion and save as png feature