[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Charts.ChartHitTestResult

ChartHitTestResult Class

Represents data returned from hit-test a chart.

Inheritance
HitTestResult
ChartHitTestResult
Implements
IEquatable<HitTestResult>
Namespace: GrapeCity.Spreadsheet.Charts
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public sealed class ChartHitTestResult : HitTestResult, IEquatable<HitTestResult>
Public NotInheritable Class ChartHitTestResult
    Inherits HitTestResult
    Implements IEquatable(Of HitTestResult)

Properties

Name Description
Axis

Gets the axis that was hit.

Chart

Gets the chart that was hit.

DataLabel

Gets the data label was hit.

DataLabels

Gets the Data labels was hit.

DataPointIndex

Gets the position of data point that was hit.

DataTable

Gets the DataTable that was hit.

ErrorBars

Gets the error bars that was hit.

Index

Gets the index of the element that was hit.

Series

Gets the series that was hit.

Trendline

Gets the trendline that was hit.

Type

Gets the type of the element that was hit.

Methods

Name Description
CreateDataLabelHitTest()

Creates the Data label hit test from the current ChartHitTestResult object.

CreateLegendHitTest()

Creates the legend hit test from the current ChartHitTestResult object.

CreatePlotAreaHitTest()

Creates the Plot Area hit test from the current ChartHitTestResult object.

CreateSeriesHitTest()

Creates the series hit test from the current ChartHitTestResult object.

CreateSeriesLinesHitTest()

Creates the Series Line hit test from the current ChartHitTestResult object.

Equals(HitTestResult)

Indicates whether the current object is equal to another object of the same type.

FromElement(IDrawingObject)

Creates the hit test result from the specified drawing object.

GetSelectedChartType()

Gets the chart type of the chart that was hit.