New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the Chart spacing settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartSpacing

Inheritance: objectChartSpacing

Derived Classes: BarcodeSpacing

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartSpacing class.

C#
public ChartSpacing()

Initializes a new instance of the ChartSpacing class.

C#
public ChartSpacing(int? margin)
Parameters:marginint?

The spacing to be applied in all directions.

Properties

Gets or sets the bottom spacing.

C#
public int? Bottom { get; set; }

Gets or sets the left spacing.

C#
public int? Left { get; set; }

Gets or sets the right spacing.

C#
public int? Right { get; set; }

Gets or sets the top spacing.

C#
public int? Top { get; set; }

Methods

Creates a new ChartSpacingSerializer.

C#
public IChartSerializer CreateSerializer()
Returns:

IChartSerializer

The ChartSpacingSerializer instance.