trying to get a download link to work for exporting chart as png