TX Text Control .NET for WPF

Refresh Method

Method|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

Refreshes the chart. Programmatic changes performed with the chart's properties and methods are not automatically refreshed. Calling this method is not necessary, when the chart frame's layout in the text is changed.

Syntax

public void Refresh();

Examples

The following example uses Refresh in a focused Chart Frame workflow. The created object is then available to the surrounding document workflow.

chartFrame.Refresh();
Console.WriteLine("Chart Frame is ready for use.");