The base class for Chart Bar series.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
TValue
TCategory
Syntax:
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:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChartBarSeriesBase<TModel, TValue, TCategory> class.
protected ChartBarSeriesBase()
Initializes a new instance of the ChartBarSeriesBase<TModel, TValue, TCategory> class.
protected ChartBarSeriesBase(Expression<Func<TModel, TValue>> expression, Expression<Func<TModel, string>> colorExpression, Expression<Func<TModel, TCategory>> categoryExpression, Expression<Func<TModel, string>> noteTextExpression)
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.
Properties
Aggregate function for date series.
public ChartSeriesAggregate? Aggregate { get; set; }
Implements:
Gets or sets the bar border
public ChartElementBorder Border { get; set; }
Implements:
The distance between category clusters.
public double? Gap { get; set; }
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:
Gets the bar chart data labels configuration
public ChartBarLabels Labels { get; }
Implements:
Gets or sets the series color for negative values
public string NegativeColor { get; set; }
Implements:
The orientation of the bars.
public ChartSeriesOrientation Orientation { get; set; }
Can be either Horizontal (bar chart) or Vertical (column chart). The default value is horizontal.
Implements:
Gets or sets the effects overlay
public ChartBarSeriesOverlay Overlay { get; set; }
Implements:
Space between bars.
public double? Spacing { get; set; }
Value of 1 means that the distance between bars is equal to their width.
Implements:
A value indicating if the bars should be stacked.
public bool? Stacked { get; set; }
Implements:
The stack name that this series belongs to.
public string StackGroup { get; set; }
Implements:
The type of stack to plot
public ChartStackType? StackType { get; set; }
Implements:
Gets or sets series visual handler.
public ClientHandlerDescriptor Visual { get; set; }
The series visual handler.
Implements:
Methods
Inintializes the Chart Bar series.
protected virtual void Initialize()