### Drawing FlexPie as a SVG image

This sample illustrates how to export FlexPie as a SVG image using drawSvg method.

The sample uses the ability of any FlexChartBase-based control to convert itself to a SVG image, so the following technique is used here:

1. Instantiate FlexPie control.
2. Convert it to a SVG image using the control's saveImageToDataUrl method.
3. Draw the image onto the document using drawSvg method.