menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramPoint

    Show / Hide Table of Contents

    Class DiagramPoint

    Inheritance
    System.Object
    EJTagHelper
    DiagramPoint
    Inherited Members
    EJTagHelper.GetControlDetails()
    EJTagHelper.GetControlDetails(String)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.JavaScript.DataVisualization.Models.Diagram
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class DiagramPoint : EJTagHelper

    Constructors

    DiagramPoint()

    Initializes a new instance of the DiagramPoint class.

    Declaration
    public DiagramPoint()

    DiagramPoint(Single, Single)

    Initializes a new instance of the DiagramPoint class.

    Declaration
    public DiagramPoint(float x, float y)
    Parameters
    Type Name Description
    System.Single x
    System.Single y

    Properties

    X

    Gets or sets the diagram point at the x direction

    Declaration
    [JsonProperty("x")]
    public float X { get; set; }
    Property Value
    Type Description
    System.Single

    -1

    Examples
               DiagramProperties Model = new DiagramProperties();
               Collection Collection = new Collection();
               Collection.Add(new Label() { Offset = new DiagramPoint() { X = .5f, Y = .5f } });
               Node Node = new Node() { Labels = Collection };

    Y

    Gets or sets the diagram point at the y direction

    Declaration
    [JsonProperty("y")]
    public float Y { get; set; }
    Property Value
    Type Description
    System.Single

    -1

    Examples
               DiagramProperties Model = new DiagramProperties();
               Collection Collection = new Collection();
               Collection.Add(new Label() { Offset = new DiagramPoint() { X = .5f, Y = .5f } });
               Node Node = new Node() { Labels = Collection };
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved