TX Text Control .NET for Windows Forms

ChartDataRelationDialog Constructor

Constructor|Introduced in 25.0
Namespace
TXTextControl.DocumentServer.Windows.Forms
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Creates a ChartDataRelationDialog object for the specified DocumentServer.DataSources.DataSourceManager.

Syntax

public ChartDataRelationDialog(ChartFrame chartFrame, DataSourceManager dataSourceManager);

Parameters

ParameterDescription
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;