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

The base class for Chart Bar series.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TModel

TValue

TCategory

Syntax:

C#
public abstract class ChartBarSeriesBase<TModel, TValue, TCategory> : ChartBoundSeries<TModel, TValue, TCategory>, IBarSeries, IChartBoundSeries, IChartSeries where TModel : class

Inheritance: objectChartSeriesBase<TModel>ChartBoundSeries<TModel, TValue, TCategory>ChartBarSeriesBase<TModel, TValue, TCategory>

Derived Classes: ChartBarSeries<TModel, TValue, TCategory>ChartRadarColumnSeries<TModel, TValue, TCategory>ChartRangeBarSeries<TModel, TValue, TCategory>ChartWaterfallSeries<TModel, TValue, TCategory>

Implements: IBarSeriesIChartBoundSeriesIChartSeries

Inherited Members ChartBoundSeries<TModel, TValue, TCategory>.DataChartBoundSeries<TModel, TValue, TCategory>.MemberChartBoundSeries<TModel, TValue, TCategory>.CategoryMemberChartBoundSeries<TModel, TValue, TCategory>.ColorMemberChartBoundSeries<TModel, TValue, TCategory>.NoteTextMemberChartBoundSeries<TModel, TValue, TCategory>.CategoryChartSeriesBase<TModel>.CreateSerializer()ChartSeriesBase<TModel>.NameChartSeriesBase<TModel>.OpacityChartSeriesBase<TModel>.ColorChartSeriesBase<TModel>.ColorHandlerChartSeriesBase<TModel>.AggregateHandlerChartSeriesBase<TModel>.TooltipChartSeriesBase<TModel>.AxisChartSeriesBase<TModel>.CategoryAxisChartSeriesBase<TModel>.HighlightChartSeriesBase<TModel>.FocusHighlightChartSeriesBase<TModel>.VisibleChartSeriesBase<TModel>.VisibleInLegendChartSeriesBase<TModel>.NotesChartSeriesBase<TModel>.ZIndexChartSeriesBase<TModel>.MedianChartSeriesBase<TModel>.MeanChartSeriesBase<TModel>.WhiskersChartSeriesBase<TModel>.PatternChartSeriesBase<TModel>.DrilldownFieldChartSeriesBase<TModel>.DrilldownSeriesFactoryChartSeriesBase<TModel>.LegendItemobject.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 ChartBarSeriesBase<TModel, TValue, TCategory> class.

C#
protected ChartBarSeriesBase()

Initializes a new instance of the ChartBarSeriesBase<TModel, TValue, TCategory> class.

C#
protected ChartBarSeriesBase(Expression<Func<TModel, TValue>> expression, Expression<Func<TModel, string>> colorExpression, Expression<Func<TModel, TCategory>> categoryExpression, Expression<Func<TModel, string>> noteTextExpression)
Parameters:expressionExpression<Func<TModel, TValue>>

The expression used to extract the point value from the chart model.

colorExpressionExpression<Func<TModel, string>>

The expression used to extract the point color from the chart model.

categoryExpressionExpression<Func<TModel, TCategory>>

The expression used to extract the point category from the chart model.

noteTextExpressionExpression<Func<TModel, string>>

The expression used to extract the point note text from the chart model.

Initializes a new instance of the ChartBarSeriesBase<TModel, TValue, TCategory> class.

C#
protected ChartBarSeriesBase(IEnumerable data)
Parameters:dataIEnumerable

The data to bind to.

Properties

Aggregate function for date series.

C#
public ChartSeriesAggregate? Aggregate { get; set; }

Implements: IBarSeries.Aggregate

Gets or sets the bar border

C#
public ChartElementBorder Border { get; set; }

Implements: IBarSeries.Border

The distance between category clusters.

C#
public double? Gap { get; set; }
Property Value:

A value of 1 means that there is a total of 1 column width / bar height between categories. The distance is distributed evenly on each side.

Implements: IBarSeries.Gap

Gets the bar chart data labels configuration

C#
public ChartBarLabels Labels { get; }

Implements: IBarSeries.Labels

Gets or sets the series color for negative values

C#
public string NegativeColor { get; set; }

Implements: IBarSeries.NegativeColor

The orientation of the bars.

C#
public ChartSeriesOrientation Orientation { get; set; }
Property Value:

Can be either Horizontal (bar chart) or Vertical (column chart). The default value is horizontal.

Implements: IBarSeries.Orientation

Gets or sets the effects overlay

C#
public ChartBarSeriesOverlay Overlay { get; set; }

Implements: IBarSeries.Overlay

Space between bars.

C#
public double? Spacing { get; set; }
Property Value:

Value of 1 means that the distance between bars is equal to their width.

Implements: IBarSeries.Spacing

A value indicating if the bars should be stacked.

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

Implements: IBarSeries.Stacked

The stack name that this series belongs to.

C#
public string StackGroup { get; set; }

Implements: IBarSeries.StackGroup

The type of stack to plot

C#
public ChartStackType? StackType { get; set; }

Implements: IBarSeries.StackType

Gets or sets series visual handler.

C#
public ClientHandlerDescriptor Visual { get; set; }
Property Value:

The series visual handler.

Implements: IBarSeries.Visual

Methods

Inintializes the Chart Bar series.

C#
protected virtual void Initialize()