Export Chart to SVG with viewBox attribute

Export Chart to SVG with viewBox attribute

The following sample code exports the chart to SVG format with the viewBox attribute.