TX Text Control .NET for WPF

ChartFrame Constructor

Constructor|Introduced in 18.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Initializes a new instance of the ChartFrame class.

Syntax

public ChartFrame(Component chart);

Parameters

ParameterDescription
chart

Specifies the chart control associated with the chart frame. It must be of the type System.Windows.Forms.DataVisualization.Charting.Chart.

Examples

The following example creates a Chart Frame instance and configures its export compression quality setting for a document workflow.

TXTextControl.DataVisualization.ChartFrame chartFrame = new(new System.ComponentModel.Component());
chartFrame.ExportCompressionQuality = 90;

Further Reading