# Scatter Chart in Word Processing Document {{< alert style="info" >}}In this article, we will use GroupDocs.Assembly to generate a Scatter Chart report in Word Processing Document format based on the use case: [Working with a Business Case](https://docs.groupdocs.com/assembly/net/working-with-a-business-case/).{{< /alert >}}{{< alert style="info" >}}The code uses some of the objects defined in [The Business Layer](https://docs.groupdocs.com/assembly/net/the-business-layer/).{{< /alert >}} ## Scatter Chart in Microsoft Word Document ### Creating a Scatter Chart Please follow below to create Scatter Chart in MS Word 2013: 1. Click in the document where you want to insert the chart, click the "Insert" tab, and then click "Chart" in the illustrations group to open the "Insert Chart" dialog box. 2. Select "XY (Scatter)". 3. Preview "Scatter" 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)](https://docs.groupdocs.com/assembly/net/scatter-chart-in-word-processing-document/#adding-syntax-to-be-evaluated-by-groupdocsassembly-engine). 5. Save the template. ### Reporting Requirement As a report developer, you are required to show your customers' orders prices by month with the following key requirements: * Report must show information on a Scatter Chart. * It must indicate Price of each order by month. * Report must be generated in the Word Processing Document. ### Adding Syntax to be evaluated by GroupDocs.Assembly Engine #### Chart Title ```csharp Total Order Prices by Months< c.OrderDate.Month)]>> ``` #### Chart Data (Excel)

X-Values

Total Order Price<<x [Key]>><<y [Sum(c => c.Price)]>>

0.7

2.7

1.8

3.2

2.6

0.8

{{< alert style="success" >}}For detailed technical information about syntax, expressions and report generation by the engine, please visit: [Working with GroupDocs.Assembly Engine](https://docs.groupdocs.com/assembly/net/working-with-groupdocs-assembly-engine/).{{< /alert >}} ### Download Scatter Chart Template Please download the sample Scatter Chart document we created in this article: * [Scatter Chart.docx](https://github.com/groupdocsassembly/GroupDocs_Assembly_NET/blob/master/Examples/Data/Source/Word%20Templates/Scatter%20Chart.docx?raw=true) (Template for CustomObject and JSON examples)  * [Scatter Chart\_DB.docx](https://github.com/groupdocsassembly/GroupDocs_Assembly_NET/blob/master/Examples/Data/Source/Word%20Templates/Scatter%20Chart_DB.docx?raw=true) (Template for DataSet, DataBase and XML examples) ### Generating The Report #### Custom Objects {{< gist GroupDocsGists b58d5e3a7c0e77704179853f00317eac >}} #### Database Entities {{< gist GroupDocsGists 9c75e081b2cfd9eec842eb74579371d9 >}} #### Using DataSet {{< gist GroupDocsGists c6d4141de31053cd4dbc0103655af031 >}} #### Using XML DataSource {{< gist GroupDocsGists 88ca4c9e5703ac2f0fb7d861bcc1d296 >}} #### Using JSON DataSource {{< gist GroupDocsGists 15874464e2f9cb850e6531e3c17fc35f >}} ## Scatter Chart in OpenOffice Document To be investigated.