New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Telerik.Charting.Styles.DimensionsChart

Chart's dimensions

Inheritance Hierarchy

  • System.Object
  • Telerik.Charting.StateManagedObject : IChartingStateManagedItem, IChartingStateManager, IDisposable
  • Telerik.Charting.Styles.Dimensions : ICloneable
  • Telerik.Charting.Styles.DimensionsChart

Properties

AutoSize Boolean

Gets and sets Auto sizing mode

Height Unit

Specifies Height of element

Height Unit

Specifies the height property

Item Object

Gets property value by name.

Margins ChartMargins

Specifies the margins properties

Paddings ChartPaddings

Specifies the paddings properties

ViewState StateBag

Sate bag to store view state content

ViewStateIgnoresCase Boolean

Gets if view sate should ignore case

Width Unit

Specifies Width of element

Width Unit

Specifies the width property

Methods

Clone

Clone this object.

Returns

System.Object New instance of Dimensions class with the same fields as this object.

CloneState

Makes a view state clone

Returns

System.Web.UI.StateBag StateBag

Dispose

Releases unmanaged and - optionally - managed resources

Parameters

disposing System.Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Returns

System.Void

Equals

Comparing of two objects.

Parameters

obj System.Object

Object to compare with.

Returns

System.Boolean Whether objects are equal.

EqualsWithoutMarginsPaddings

Checks if objects are equal without margins and paddings.

Parameters

obj System.Object

Object to compare

Returns

System.Boolean If objects are equal without margins and paddings

GetHashCode

Gets hash code.

Returns

System.Int32 Hash code.

IsZero

Returns True if dimensions width and height are zero values

Returns

System.Boolean True if dimensions width and height are zero values

LoadViewState

Load data from ViewState.

Parameters

savedState System.Object

ViewState with data

Returns

System.Void

LoadViewState

Loads data from a view state

Parameters

state System.Object

View state to load data from

Returns

System.Void

Reset

Reset to default settings

Returns

System.Void

Reset

Resets to default values

Returns

System.Void

ResetHeight

Reset Height to default settings

Returns

System.Void

ResetHeight

Reset Height to default value.

Returns

System.Void

ResetWidth

Reset Width to default settings

Returns

System.Void

ResetWidth

Gets if Width property should be serializable.

Returns

System.Void If Width property should be serializable.

SaveViewState

Save data to ViewState.

Returns

System.Object Saved data

SaveViewState

Saves object data to a view state

Returns

System.Object Saved view state object

SetDimensions

Sets the new Width and Height values

Parameters

width System.Single

Width of element

height System.Single

Height of element

Returns

System.Void

SetDimensions

Sets the new Width and Height values

Parameters

width Telerik.Charting.Styles.Unit

Width of element

height Telerik.Charting.Styles.Unit

Height of element

Returns

System.Void

SetDimensions

Copy dimensions from the object.

Parameters

source Telerik.Charting.Styles.Dimensions

Object tot copy from.

Returns

System.Void

SetDirty

Sets the item dirty state

Returns

System.Void

ShouldSerializeHeight

Gets if Height property should be serializable.

Returns

System.Boolean If Height property should be serializable.

ShouldSerializeWidth

Gets if Width property should be serializable.

Returns

System.Boolean If Width property should be serializable.

Telerik.Charting.IChartingStateManager.LoadViewState

Loads data from a view state

Parameters

state System.Object

View state to load data from

Returns

System.Void

Telerik.Charting.IChartingStateManager.SaveViewState

Saves object data to a view state

Returns

System.Object Saved view state object

Telerik.Charting.IChartingStateManager.TrackViewState

Tracks view state changes

Returns

System.Void

TrackViewState

Track ViewState.

Returns

System.Void

TrackViewState

Tracks view state changes

Returns

System.Void