Bubble Chart in Email Document
In this article, we will use GroupDocs.Assembly to generate a Bubble Chart report in Email Document.
The code uses some of the objects defined in The Business Layer.
Bubble Chart in Email Document
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 |
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: