BarSeriesBase Class
Represents a base class for bar series used in a XYChart.
[StyleTypedProperty(Property = "BarStyle", StyleTargetType = typeof(Border))]
public abstract class BarSeriesBase : XYSeriesBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IRefreshable, IXYSeries
- Inheritance:
- Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control SeriesBase XYSeriesBase Object
- Derived:
- BarSeries
Constructors
BarSeriesBase()
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
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
- Boolean:
true
if 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
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()