New to Telerik ReportingStart a free 30-day trial

Plot area - series rendering canvas.

Definition

Constructors

Create instance of the class

C#
public ChartPlotArea()

Create instance of the class

C#
public ChartPlotArea(Chart parent)
Parameters:parentChart

Chart

Properties

Style

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public StylePlotArea Appearance { get; }

Link to chart object

C#
[Browsable(false)]
public Chart Chart { get; }

Table that contain series data

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartDataTable DataTable { get; }

Specifies empty series message text

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public EmptySeriesMessage EmptySeriesMessage { get; }

Marked zones collection

C#
[Browsable(true)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartMarkedZonesCollection MarkedZones { get; }

Get a next free order position

C#
[Browsable(false)]
public int NextPosition { get; }

Implements: IContainer.NextPosition

List, that is represent the render order for taken up elements

C#
[Browsable(false)]
public List<IOrdering> OrderList { get; }

Implements: IContainer.OrderList

Parent element

C#
[Browsable(false)]
public Chart Parent { get; }

Visibility

C#
public bool Visible { get; set; }

Gets XAxis.

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartXAxis XAxis { get; }

Primary YAxis.

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartYAxis YAxis { get; }

Secondary YAxis

C#
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[SkinnableProperty]
public ChartYAxis YAxis2 { get; }

Methods

Add element at the end of list

C#
public void Add(IOrdering element)
Parameters:elementIOrdering

Element

Implements: IContainer.Add(IOrdering)

Releases unmanaged and - optionally - managed resources

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

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

Overrides: LayoutElement.Dispose(bool)

Get elements order position

C#
public int GetOrder(IOrdering element)
Parameters:elementIOrdering

Element

Returns:

int

Implements: IContainer.GetOrder(IOrdering)

Insert element at specific position in list

C#
public void Insert(int order, IOrdering element)
Parameters:orderint

Position

elementIOrdering

Element

Implements: IContainer.Insert(int, IOrdering)

Load ViewState

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject

ViewState with data

Overrides: LayoutElement.LoadViewState(object)

Re-index order list

C#
public void ReIndex()

Implements: IContainer.ReIndex()

Remove element from list

C#
public void Remove(IOrdering element)
Parameters:elementIOrdering

Element

Implements: IContainer.Remove(IOrdering)

Remove element from list by it's index

C#
public void RemoveAt(int index)
Parameters:indexint

Position

Implements: IContainer.RemoveAt(int)

Save Track ViewState

C#
protected override object SaveViewState()
Returns:

object

Object data as array

Overrides: LayoutElement.SaveViewState()

Series collection on current plot area

C#
public ChartSeriesCollection SeriesCollection()
Returns:

ChartSeriesCollection

Series collection

Track ViewState

C#
protected override void TrackViewState()

Overrides: LayoutElement.TrackViewState()