TX Text Control .NET Server

ChartFrame Property

Property|Introduced in 18.0
Namespace
TXTextControl.DataVisualization
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Gets an object that represents the chart which causes the event. It is of the type DataVisualization.ChartFrame.

Syntax

public ChartFrame ChartFrame { get; }

Examples

The following example uses ChartEventArgs.ChartFrame while handling ChartClicked.

textControl.ChartClicked += (_, e) =>
{
    if (e.ChartFrame != null)
    {
        e.ChartFrame.DescriptiveText = "Quarterly sales by region";
    }
};

Limitations

Read only.