Back to Devexpress

ChartHitInfo.Chart Property

corelibraries-devexpress-dot-xtracharts-dot-charthitinfo-f4a6fc24.md

latest1.8 KB
Original Source

ChartHitInfo.Chart Property

Gets a chart which is located under the test point.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public IChartContainer Chart { get; }
vb
Public ReadOnly Property Chart As IChartContainer

Property Value

TypeDescription
DevExpress.XtraCharts.Native.IChartContainer

An object implementing the DevExpress.XtraCharts.Native.IChartContainer interface (e.g., ChartControl or WebChartControl) which represents the chart located under the test point.

|

Remarks

Use the Chart property to access the chart located under the test point if the ChartHitInfo.InChart property returns true. Note that if the ChartHitInfo.InChart is false , then the Chart property returns null ( Nothing in Visual Basic).

See Also

HitObject

HitObjects

ChartHitInfo Class

ChartHitInfo Members

DevExpress.XtraCharts Namespace