Version X15 comes with new Chart Tools ribbon tabs in the TX Text Control ribbon bar in all .NET platforms including Windows Forms, WPF and ASP.NET. They allow users to insert and adjust chart objects out-of-the-box.

In order to insert a new chart object, simply use the Chart drop-down button in the Illustrations ribbon group of the Insert tab and select the preferred chart type.

Inserting charts

When selecting a chart object, the contextual ribbon groups Frame Formatting and Chart Formatting are available to adjust the object.

Modify charts

When a data source is loaded in the Reporting tab, a chart object can be directly bound to a data table. Consider the following XML as a data source for a report:


Select the chart object, find and click the Set Data Relation button in the Chart Formatting contextual ribbon tab. In the opened dialog, select the master table which is report in this sample case. The child table that contains the sales numbers for our chart object is sales. The axis should be labeled with the values of the column month and the values should be retrieved from the column amount. Close this dialog by clicking OK.

Chart data dialog

In the Reporting tab, select Preview and confirm the dialog with OK to see the following result:

Merged chart

When merging this template programmatically using TXTextControl.DocumentServer.MailMerge, chart objects are merged automatically based on the relation specified in the template.