BarSeriesBase Class
Represents a base class for bar series used in a XYChart.
[StyleTypedProperty(Property = "BarStyle", StyleTargetType = typeof(Border))]
public abstract class BarSeriesBase : XYSeriesBase
- Inheritance:
- object Visual UIElement FrameworkElement Control SeriesBase XYSeriesBase object
- Derived:
- BarSeries
Constructors
BarSeriesBase()
Initializes an instance of the class.
protected BarSeriesBase()
Properties
BarStyle
Gets or sets a Style, which is applied to the Shape used to render the series. This is a dependency property.
public Style BarStyle { get; set; }
Property Value
BarTemplate
Gets or sets DataTemplate that is used to customize the content of a single bar in a bar series. This is a dependency property.
public DataTemplate BarTemplate { get; set; }
Property Value
- DataTemplate:
The bar template. The default value is
null.
LabelPositioningMode
Gets or sets the LabelPositioningMode used to determine how labels are laid out.
public LabelPositioningMode LabelPositioningMode { get; set; }
Property Value
- LabelPositioningMode:
The label positioning mode. The default value is
FromBaseline.
LogicalOrientation
Gets the logical orientation of the series.
MarkerVisibility
Gets or sets a value indicating which markers are rendered along the series. This is a dependency property.
public ChartMarkerVisibility MarkerVisibility { get; set; }
Property Value
- ChartMarkerVisibility:
A ChartMarkerVisibility indicating which markers are rendered along the series. The default value is
ChartMarkerVisibility.None.
MinimumMargin
Gets the minimum margin around the plotted area required by the series.
protected override Thickness? MinimumMargin { get; }
Property Value
- Thickness?:
The minimum margin around the plotted area required by the series.
Orientation
Gets or sets the orientation of the series. This is a dependency property.
public Orientation Orientation { get; set; }
Property Value
- Orientation:
The orientation of the series. The default value is
Orientation.Horizontal.
RequiresSlottedLayout
Gets a value indicating whether the series requires slotted layout.
public override bool RequiresSlottedLayout { get; }
Property Value
- bool:
trueif the series requires slotted layout; otherwise,false.
Fields
BarStyleProperty
Identifies the BarStyle dependency property. This field is read-only.
public static readonly DependencyProperty BarStyleProperty
BarTemplateProperty
Identifies the BarTemplate dependency property. This field is read-only.
public static readonly DependencyProperty BarTemplateProperty
LabelPositioningModeProperty
Identifies the LabelPositioningMode dependency property. This field is read-only.
public static readonly DependencyProperty LabelPositioningModeProperty
MarkerVisibilityProperty
Identifies the MarkerVisibility dependency property. This field is read-only.
public static readonly DependencyProperty MarkerVisibilityProperty
OrientationProperty
Identifies the Orientation dependency property. This field is read-only.
public static readonly DependencyProperty OrientationProperty
Inherited Members
- XYSeriesBase.AggregationFactorProperty
- XYSeriesBase.DescriptionProperty
- XYSeriesBase.IsAggregationEnabledProperty
- XYSeriesBase.LegendMarkerStyleProperty
- XYSeriesBase.LegendStringFormatProperty
- XYSeriesBase.MarkerStyleProperty
- XYSeriesBase.PrimaryAggregationKindProperty
- XYSeriesBase.SecondaryAggregationKindProperty
- XYSeriesBase.StackKindProperty
- XYSeriesBase.XAxisProperty
- XYSeriesBase.XPathProperty
- XYSeriesBase.YAxisProperty
- XYSeriesBase.YPathProperty
- XYSeriesBase.NormalizeValue(object, object)
- XYSeriesBase.Refresh()
- XYSeriesBase.AggregationFactor
- XYSeriesBase.Chart
- XYSeriesBase.Description
- XYSeriesBase.IsAggregationEnabled
- XYSeriesBase.LegendMarkerStyle
- XYSeriesBase.LegendStringFormat
- XYSeriesBase.MarkerStyle
- XYSeriesBase.PrimaryAggregationKind
- XYSeriesBase.SecondaryAggregationKind
- XYSeriesBase.StackKind
- XYSeriesBase.XAxis
- XYSeriesBase.XPath
- XYSeriesBase.YAxis
- XYSeriesBase.YPath
- XYSeriesBase.Refreshed
- SeriesBase.IndexProperty
- SeriesBase.ItemsSourceProperty
- SeriesBase.GetLabelText(object, object, object, object, object)
- SeriesBase.OnItemsSourceChanged(IEnumerable, IEnumerable)
- SeriesBase.OnItemsSourceCollectionChanged(object, NotifyCollectionChangedEventArgs)
- SeriesBase.Index
- SeriesBase.ItemsSource
- SeriesBase.LabelAngle
- SeriesBase.LabelFormat
- SeriesBase.LabelFunc
- SeriesBase.LabelStyle
- SeriesBase.LabelVisibility