Adding a snapshot button for the chart to copy svg data to an image for performance reasons