PdfRpt.VectorCharts.PieChart.Draw C# (CSharp) Method

Draw() public method

Draws a PieChart. This method returns a vector image which can be painted on a table's cell or part of a page.
public Draw ( ) : Image
return Image
        public Image Draw()
        {
            sanityCheck();
            calculateSegmentsAngles();
            initValues();
            createTemplate();
            drawArea();
            drawCircle();
            drawSegments();
            restoreStates();
            return Image.GetInstance(_template);
        }