menu

ASP.NET MVC

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

    Show / Hide Table of Contents

    Class Margin

    Inheritance
    System.Object
    EJTagHelper
    Margin
    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
    Assembly: Syncfusion.EJ.dll
    Syntax
    public class Margin : EJTagHelper

    Constructors

    Margin()

    Declaration
    public Margin()

    Properties

    Bottom

    Gets or sets the value for Bottom which specifies the Bottom margin value of data label.

    Declaration
    [JsonProperty("bottom")]
    public double Bottom { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Bottom margin value of data label.

    Left

    Gets or sets the value for Left which specifies the Left margin value of data label in chart.

    Declaration
    [JsonProperty("left")]
    public double Left { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Left margin value of data label.

    Right

    Gets or sets the value for Right which specifies the Right margin value of data label in chart.

    Declaration
    [JsonProperty("right")]
    public double Right { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Right margin value of data label.

    Top

    Gets or sets the value for Top which specifies the Top margin value of data label in chart.

    Declaration
    [JsonProperty("top")]
    public double Top { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Top margin value of data label.

    Methods

    GetHeight(ModelSize)

    Get actual height during excel exporting whcih specifies the Actual height of the chart in client browser

    Declaration
    protected string GetHeight(ModelSize size)
    Parameters
    Type Name Description
    ModelSize size

    Size of the chart

    Returns
    Type Description
    System.String

    Actual height of the chart in client browser

    GetWidth(ModelSize)

    Get actual width during excel exporting which specifies the Actual width of the chart in client browser.

    Declaration
    protected string GetWidth(ModelSize size)
    Parameters
    Type Name Description
    ModelSize size

    Size of the chart

    Returns
    Type Description
    System.String

    Actual width of the chart in client browser

    SetHeight(ModelSize, String)

    Declaration
    protected void SetHeight(ModelSize size, string height)
    Parameters
    Type Name Description
    ModelSize size
    System.String height

    SetWidth(ModelSize, String)

    Declaration
    protected void SetWidth(ModelSize size, string width)
    Parameters
    Type Name Description
    ModelSize size
    System.String width
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved