ClassBarSeries
Represents a bar chart series that visualizes data points as rectangular bars where the height represents the magnitude of each value.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class BarSeries : CartesianSeries, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IStylableElement, IStylableNode, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IShapedElement, IChartSeries, IChartElementPresenter, IAxisProvider
Inheritance: objectDisposableObjectRadObjectUIChartElementChartSeriesCartesianSeriesBarSeries
Implements:
Inherited Members
Constructors
BarSeries()
Initializes a new instance of the BarSeries class.
Declaration
public BarSeries()
BarSeries(string)
Initializes a new instance of the BarSeries class with the specified value member.
Declaration
public BarSeries(string valueMember)
Parameters
valueMember
The name of the property that contains the data values for the bars.
BarSeries(string, string)
Initializes a new instance of the BarSeries class with the specified value and category members.
Fields
LabelModeProperty
Identifies the LabelMode dependency property.
Declaration
public static readonly RadProperty LabelModeProperty
Field Value
Properties
LabelMode
Gets or sets the positioning mode for bar labels.
Declaration
public BarLabelModes LabelMode { get; set; }
Property Value
Model
Gets the data model that represents the bar series structure and behavior.
Declaration
public override ChartSeriesModel Model { get; }
Property Value
Overrides
Methods
CreateModel()
Creates the data model for the bar series and initializes the data point collection.
Declaration
protected override ChartDataPointCollection CreateModel()
Returns
A ChartDataPointCollection containing the bar data points.
Overrides
CreatePointElement(DataPoint)
Creates a visual element for the specified bar data point.
Declaration
protected override DataPointElement CreatePointElement(DataPoint point)
Parameters
point
The data point for which to create the visual element.
Returns
A DataPointElement representing the bar.
Overrides
GetDefaultTrackballTextForPoint(DataPoint)
Gets the default trackball text for the specified data point.
OnApplyPalette()
Applies the current palette to all bar point elements, setting their background and border colors.
Declaration
protected override void OnApplyPalette()
Overrides
ValidatePoint(DataPoint)
Validates that the specified data point is compatible with this bar series.
Declaration
protected override void ValidatePoint(DataPoint item)
Parameters
item
The data point to validate.
Overrides