Bubble Chart in Presentation Document

Note
In this article, we will use GroupDocs.Assembly to generate a Bubble Chart report in Presentation Document.
Note
The code uses some of the objects defined in The Business Layer.

Bubble Chart in Microsoft PowerPoint Document

Creating a Bubble Chart

Please follow below steps to create Bubble Chart in MS PowerPoint 2013:

  1. Add a new presentation slide, click the “Insert” tab, and then click “Chart” in the illustrations group to open the “Insert Chart” dialog box.
  2. Select “X Y(Scatter)” in the sidebar, you will see a gallery of charts.
  3. Select the “Bubble” and press “OK” to insert the chart and Worksheet template to your document.
  4. Edit the Worksheet with your data to update the chart. See Chart Data (Excel).
  5. Save your Document.

Reporting Requirement

As a report developer, you are required to share your sales/orders dynamically with the following key requirements:

  • Retrieve total Contract Prices by Months.
  • Report must be generated in the Presentation Document.

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

Chart Title

Total Contract Prices by Months<<foreach [in getContracts()
.groupBy(c => c.getDate().getMonth())]>><<x [key + 1]>>

Chart Data (Excel)

X-Values

Total Contract Price<<y [sum(c => c.getPrice())]>><<size[count()]>>

Size

0.7

2.7

10

1.8

3.2

4

2.6

0.8

8

### Download Bubble Chart Template

Please download the sample Bubble Chart document we created in this article:

Generating The Report

Bubble Chart in OpenOffice Presentation Document

To be investigated.