PDF exploded pie chart is a special pie chart with individual separated slices from a pie. The exploded slices look as if they were cut out from the pie and moved slightly outward from its center.

.NET PDF Exploding Pie Chart Maker is one of the drawing functions in XsPDF chart creator. It allows developers to make chart with exploded pieces and insert the graphs and diagram into PDF pages from multiple Visual .NET applications, such as C#, VB.NET, ASP.NET and WinForms. This tutorial article shows how to add the exploded pie chart on PDF document pages in an easy way.

static void AddExplodedPieChartToPDF()
    // Create a new PDF document.
    PdfDocument document = new PdfDocument();

    // Create a page.
    PdfPage page = document.AddPage();

    // Generate a 2d exploded pie chart graph
    Chart chart = PieExplodedChart();

    // Create a chart frame, set chart location and size
    ChartFrame chartFrame = new ChartFrame();
    chartFrame.Location = new XPoint(30, 30);
    chartFrame.Size = new XSize(500, 600);

    // Render chart symbols into pdf page
    XGraphics g = XGraphics.FromPdfPage(page);

    // Save and show the document           

static Chart PieExplodedChart()
    // Set chart type to Area2D
    Chart chart = new Chart(ChartType.PieExploded2D);

    // Add series of exploded pie chart with name and data
    Series series = chart.SeriesCollection.AddSeries();
    series.Add(new double[] { 1, 17, 45, 5, 3, 20, 11, 23, 8, 19, 34, 56, 23, 45 });

    // Set legend
    chart.Legend.Docking = DockingType.Left;

    chart.DataLabel.Type = DataLabelType.Percent;
    chart.DataLabel.Position = DataLabelPosition.Center;

    return chart;

More PDF tutorial