ChartDataRelationDialog Constructor
- Namespace
TXTextControl.DocumentServer. Windows. Forms
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Creates a ChartDataRelationDialog object for the specified DocumentServer.DataSources.DataSourceManager.
Syntax
public ChartDataRelationDialog(ChartFrame chartFrame, DataSourceManager dataSourceManager);Public Sub New(chartFrame As ChartFrame, dataSourceManager As DataSourceManager)Parameters
| Parameter | Description |
|---|---|
| chartFrame | Specifies a ChartFrame object which contains the Chart which should be manipulated by the dialog. |
| dataSourceManager | Specifies the DataSourceManager, which manages the current data source. |
Examples
The following example creates a Chart Data Relation Dialog instance and configures its allow transparency setting for a document workflow.
using TXTextControl.DocumentServer.Windows.Forms.ChartDataRelationDialog chartDataRelationDialog = new(new TXTextControl.DataVisualization.ChartFrame(new System.ComponentModel.Component()), new TXTextControl.DocumentServer.DataSources.DataSourceManager());
chartDataRelationDialog.AllowTransparency = true;Dim chartDataRelationDialog As New TXTextControl.DocumentServer.Windows.Forms.ChartDataRelationDialog(New TXTextControl.DataVisualization.ChartFrame(New System.ComponentModel.Component()), New TXTextControl.DocumentServer.DataSources.DataSourceManager())
chartDataRelationDialog.AllowTransparency = True