alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class Chart3DEventLocation

    Gets or sets the location for the event arguments in the 3D Chart component events.

    Inheritance
    object
    Chart3DEventLocation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Chart3D
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class Chart3DEventLocation
    Remarks

    The Chart3DEventLocation class provides a flexible way to manage location data.

    Constructors

    Chart3DEventLocation(double, double, double)

    Initializes a new instance of the Chart3DEventLocation class with the specified 3D coordinates.

    Declaration
    public Chart3DEventLocation(double x, double y, double z)
    Parameters
    Type Name Description
    double x

    A double value representing the X-coordinate of the event location. Must be a finite numeric value.

    double y

    A double value representing the Y-coordinate of the event location. Must be a finite numeric value.

    double z

    A double value representing the Z-coordinate of the event location. Must be a finite numeric value.

    Remarks

    The Chart3DEventLocation class is used by the SfChart3D component to represent the 3D position of a user interaction event, such as mouse movement, clicks, touch points, or tooltip triggering.

    These coordinates are expressed in chart-relative 3D rendering space and are typically populated internally during hit-testing or interaction processing. They may differ from actual screen pixel coordinates.

    Examples

    The following example demonstrates creating a Chart3DEventLocation instance manually.

    // Create a 3D event location at coordinates (10, 25, 5)
    var location = new Chart3DEventLocation(10, 25, 5);
    
    // X, Y, and Z values can be used for custom event handling logic
    Console.WriteLine($"Event at: X={location.X}, Y={location.Y}, Z={location.Z}");

    Properties

    X

    Gets or sets the location's x value.

    Declaration
    public double X { get; set; }
    Property Value
    Type Description
    double

    Accepts the double value. The default value is 0.

    Y

    Gets or sets the location's y value.

    Declaration
    public double Y { get; set; }
    Property Value
    Type Description
    double

    Accepts the double value. The default value is 0.

    Z

    Gets or sets the location's z value.

    Declaration
    public double Z { get; set; }
    Property Value
    Type Description
    double

    Accepts the double value. The default value is 0.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved