Chart3DHitInfo Class

Contains information about a specific point within a chart.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public class Chart3DHitInfo :
    ChartHitInfoBase
Public Class Chart3DHitInfo
    Inherits ChartHitInfoBase

Related API Members

The following members accept/return Chart3DHitInfo objects:

Remarks

Chart3DHitInfo objects can be created by calling the chart's Chart3DControl.CalcHitInfo method. This method requires the test point as a parameter, or its coordinates.

The Chart3DHitInfo class properties can be grouped into two categories:

  • The properties that indicate whether the test point resides over a particular view element. For instance, the ChartHitInfoBase.InAxis property indicates whether the test point is over the axis;
  • The properties identifying the topmost visual element, which contains the test point (e.g., ChartHitInfoBase.Axis).

Examples

This example shows coordinates for a surface point and series point marker clicked in a 3D chart:

<dxc:Chart3DControl x:Name="chart" MouseUp="Chart3DControl_MouseUp">
    ...
    <dxc:Series3DStorage>
        <dxc:Series3D DisplayName="Function">
            ...
            <dxc:Series3D.View>
                <dxc:SurfaceSeriesView MarkerVisible="True">
                    ...
                </dxc:SurfaceSeriesView>
            </dxc:Series3D.View>
        </dxc:Series3D>
    </dxc:Series3DStorage>
</dxc:Chart3DControl>

Inheritance

See Also