Class BarSeries
Control that displays values as a bar chart visualization.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting.Compatible
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
[StyleTypedProperty(Property = "DataPointStyle", StyleTargetType = typeof(BarDataPoint))]
[StyleTypedProperty(Property = "LegendItemStyle", StyleTargetType = typeof(LegendItem))]
public class BarSeries : StackedBarSeries, IControl, IFrameworkElement, IUIElement, IDependencyObject, ISeries, IAxisListener, IRangeProvider, IValueMarginProvider, IDataProvider, ISeriesHost, IRequireSeriesHost, IResourceDictionaryDispenser, IAnchoredToOrigin
Remarks
Based on the DefinitionSeries hierarchy.
Constructors
| Improve this Doc View SourceBarSeries()
Initializes a new instance of the BarSeries class.
Declaration
public BarSeries()
Fields
| Improve this Doc View SourceDataPointStyleProperty
Identifies the DataPointStyle dependency property.
Declaration
public static readonly DependencyProperty DataPointStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
DependentRangeAxisProperty
Identifies the DependentRangeAxis dependency property.
Declaration
public static readonly DependencyProperty DependentRangeAxisProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsSelectionEnabledProperty
Identifies the IsSelectionEnabled dependency property.
Declaration
public static readonly DependencyProperty IsSelectionEnabledProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LegendItemStyleProperty
Identifies the LegendItemStyle dependency property.
Declaration
public static readonly DependencyProperty LegendItemStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TitleProperty
Identifies the Title dependency property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TransitionDurationProperty
Identifies the TransitionDuration dependency property.
Declaration
public static readonly DependencyProperty TransitionDurationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TransitionEasingFunctionProperty
Identifies the TransitionEasingFunction dependency property.
Declaration
public static readonly DependencyProperty TransitionEasingFunctionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceDataPointStyle
Gets or sets the Style to use for the DataPoints of the series.
Declaration
public Style DataPointStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
DependentRangeAxis
Gets or sets the IRangeAxis to use as the dependent axis of the series.
Declaration
public IRangeAxis DependentRangeAxis { get; set; }
Property Value
Type | Description |
---|---|
IRangeAxis |
DependentValueBinding
Gets or sets the Binding that identifies the dependent values of the series.
Declaration
public Binding DependentValueBinding { get; set; }
Property Value
Type | Description |
---|---|
Binding |
DependentValuePath
Gets or sets the Binding path that identifies the dependent values of the series.
Declaration
public string DependentValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IndependentValueBinding
Gets or sets the Binding that identifies the independent values of the series.
Declaration
public Binding IndependentValueBinding { get; set; }
Property Value
Type | Description |
---|---|
Binding |
IndependentValuePath
Gets or sets the Binding path that identifies the independent values of the series.
Declaration
public string IndependentValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsSelectionEnabled
Gets or sets a value indicating whether selection is enabled.
Declaration
public bool IsSelectionEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemsSource
Gets or sets a sequence that provides the content of the series.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable |
LegendItemStyle
Gets or sets the Style to use for the LegendItem of the series.
Declaration
public Style LegendItemStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
Title
Gets or sets the title of the series.
Declaration
public object Title { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
TransitionDuration
Gets or sets the TimeSpan to use for the duration of data transitions.
Declaration
public TimeSpan TransitionDuration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
TransitionEasingFunction
Gets or sets the IEasingFunction to use for data transitions.
Declaration
public IEasingFunction TransitionEasingFunction { get; set; }
Property Value
Type | Description |
---|---|
IEasingFunction |