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

The bar/column series class will produce a bar/column chart type.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class BarSeries : SeriesBase, IMarkableStateManager, IStateManager, IStackedSeries

Inheritance: objectStateManagerSeriesBaseBarSeries

Derived Classes: ColumnSeries

Implements: IMarkableStateManagerIStackedSeriesIStateManager

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

Constructors

Creates a bar/column series.

C#
public BarSeries()

Properties

Specifies the border settings of the outliers.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public SeriesBorderAppearance BorderAppearance { get; }

Gets or Sets the distance between the category clusters.

C#
public virtual double? Gap { get; set; }

Defines a group name for the series and applies stacking automatically

C#
public string GroupName { get; set; }

Defines the appearance settings of the series labels

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public BarColumnSeriesLabelsAppearance LabelsAppearance { get; }

Creates a collection of category series items.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public CategorySeriesItemCollection SeriesItems { get; }

Gets or Sets the space between the chart series as proportion of the series width.

C#
public virtual double? Spacing { get; set; }

Get/Set whether the series is stacked

C#
public bool? Stacked { get; set; }

Implements: IStackedSeries.Stacked

Specifies the stack type of the series.

C#
public HtmlChartStackType StackType { get; set; }

Implements: IStackedSeries.StackType

Methods

C#
protected void AddSerializedItems(StringBuilder sb)
Parameters:sbStringBuilder
C#
protected void AddSeriesItems(StringBuilder sb)
Parameters:sbStringBuilder
C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: SeriesBase.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: SeriesBase.SaveViewState()

C#
protected override void TrackViewState()

Overrides: SeriesBase.TrackViewState()