Bubble Chart in Email Document

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yes
Folders, licensing and more →

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

Bubble Chart in Email Document

Note
This feature is supported by version 17.8.0 or greater.

Reporting Requirement

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

  • A report must be in .eml or .msg format.
  • It must add email recipient, CSS and subject of the email.
  • Retrieve total order Prices by Months.

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

Chart Title
Orders Prices by Months<<foreach [in orders
.GroupBy(c => c.OrderDate.Month)]>><<x[Key]>>
Chart Data (Excel)

X-Values

Total Order Price<<y [sum(c => c.Price)]>><<size[Count()]>>

Size

0.7

2.7

10

1.8

3.2

4

2.6

0.8

8

Tip
For detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine.

Download Bubble Chart Template

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

Generating The Report