ChartFrame Property
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public ReadOnly Property ChartFrame As ChartFrameExamples
The following example uses ChartEventArgs.ChartFrame while handling ChartClicked.
textControl.ChartClicked += (_, e) =>
{
if (e.ChartFrame != null)
{
e.ChartFrame.DescriptiveText = "Quarterly sales by region";
}
};AddHandler textControl.ChartClicked,
Sub(sender, e)
If e.ChartFrame IsNot Nothing Then
e.ChartFrame.DescriptiveText = "Quarterly sales by region"
End If
End SubLimitations
Read only.