Export Chart to SVG with viewBox attribute using C++

Export Chart to SVG with viewBox attribute

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