Gets the ChartArea object that may be associated with a chart element returned by a hit test (depends if a chart element was detected at the given location, as well as the type of chart element).
Chart Area object
Visual Basic (Declaration) | |
---|---|
Public Property ChartArea As ChartArea |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public ChartArea ChartArea {get; set;} |
Return Value
An object of type ChartArea, or null (Nothing for Visual Basic). Defaults to null.If a chart object is returned by the hit test then this ChartArea property will reference the ChartArea object that is associated with the returned chart element.
If no chart element is returned by the hit test then this property will be null (or Nothing, for Visual Basic developers).
Note that the HitTest method may be called explicitly, in which case a chart element may or may not be at the specified location.
For more information see the Selection of Chart Elements and Drilldown topic.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family