MicroBarSeriesBase Class
Represents a base class for bar series used in a MicroXYChart.
[StyleTypedProperty(Property = "BarNegativeStyle", StyleTargetType = typeof(Shape))]
[StyleTypedProperty(Property = "BarStyle", StyleTargetType = typeof(Shape))]
public abstract class MicroBarSeriesBase : MicroXYSeriesBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, INotifyPropertyChanged
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control MicroSeriesBase MicroXYSeriesBase Object
- Derived:
- MicroBarSeries MicroWinLossSeries
Constructors
MicroBarSeriesBase()
protected MicroBarSeriesBase()
Properties
BarHighStyle
Gets or sets a System.Windows.Style, which is applied to the System.Windows.Shapes.Shape element used to render the high bar along the series. This is a dependency property.
public Style BarHighStyle { get; set; }
Property Value
- System.Windows.Style:
A System.Windows.Style, which is applied to the System.Windows.Shapes.Shape element used to render the high bar along the series. The default value is
null
.
BarLowStyle
Gets or sets a System.Windows.Style, which is applied to the System.Windows.Shapes.Shape element used to render the low bar along the series. This is a dependency property.
public Style BarLowStyle { get; set; }
Property Value
- System.Windows.Style:
A System.Windows.Style, which is applied to the System.Windows.Shapes.Shape element used to render the low bar along the series. The default value is
null
.
BarNegativeStyle
Gets or sets a negative System.Windows.Style, which is applied to the System.Windows.Shapes.Shape used to render the series. This is a dependency property.
public Style BarNegativeStyle { get; set; }
Property Value
- System.Windows.Style:
A negative System.Windows.Style, which is applied to the System.Windows.Shapes.Shape used to render the series. The default value is
null
.
BarSpacing
Gets or sets the amount of spacing applied to either side of the individual bar shapes. This is a dependency property.
public Unit BarSpacing { get; set; }
Property Value
- Unit:
The amount of spacing applied to either side of the individual bar shapes. The default value is
1px
.
BarStyle
Gets or sets a System.Windows.Style, which is applied to the System.Windows.Shapes.Shape used to render the series. This is a dependency property.
public Style BarStyle { get; set; }
Property Value
- System.Windows.Style:
A System.Windows.Style, which is applied to the System.Windows.Shapes.Shape used to render the series. The default value is
null
.
BarStyleKinds
Gets or sets a MicroBarSeriesStyleKinds which indicates what style kinds are used for bars along the series. This is a dependency property.
public MicroBarSeriesStyleKinds BarStyleKinds { get; set; }
Property Value
- MicroBarSeriesStyleKinds:
A MicroBarSeriesStyleKinds which indicates what style kinds are used for bars along the series. The default value is
MicroBarSeriesStyleKinds.None
.
LogicalOrientation
Gets the logical orientation of the series.
protected override Orientation LogicalOrientation { get; }
Property Value
- System.Windows.Controls.Orientation
MarkerVisibility
Gets or sets a value indicating which markers are rendered along the series. This is a dependency property.
public MicroChartMarkerVisibility MarkerVisibility { get; set; }
Property Value
- MicroChartMarkerVisibility:
A MicroChartMarkerVisibility indicating which markers are rendered along the series. The default value is
MicroChartMarkerVisibility.None
.
Orientation
Gets or sets the orientation of the series. This is a dependency property.
public Orientation Orientation { get; set; }
Property Value
- System.Windows.Controls.Orientation:
The orientation of the series. The default value is
Orientation.Horizontal
.
RequiresSlottedLayout
Gets a value indicating whether the series requires slotted layout.
protected override bool RequiresSlottedLayout { get; }
Property Value
- System.Boolean:
true
if the series requires slotted layout; otherwise,false
.
Methods
GetMinimumMargin()
Gets the minimum margin around the plotted area required by the series.
protected override Thickness? GetMinimumMargin()
Returns
- System.Nullable<System.Windows.Thickness>:
The minimum margin around the plotted area required by the series.
PlotSeries(MicroXYChartPlotter)
Plots the series to the associated chart using the specified plotter.
protected override void PlotSeries(MicroXYChartPlotter plotter)
Parameter | Type | Description |
---|---|---|
plotter | MicroXYChartPlotter | The plotter used to render shapes on the chart. |
Fields
BarHighStyleProperty
Identifies the BarHighStyle dependency property. This field is read-only.
public static readonly DependencyProperty BarHighStyleProperty
BarLowStyleProperty
Identifies the BarLowStyle dependency property. This field is read-only.
public static readonly DependencyProperty BarLowStyleProperty
BarNegativeStyleProperty
Identifies the BarNegativeStyle dependency property. This field is read-only.
public static readonly DependencyProperty BarNegativeStyleProperty
BarSpacingProperty
Identifies the BarSpacing dependency property. This field is read-only.
public static readonly DependencyProperty BarSpacingProperty
BarStyleKindsProperty
Identifies the BarStyleKinds dependency property. This field is read-only.
public static readonly DependencyProperty BarStyleKindsProperty
BarStyleProperty
Identifies the BarStyle dependency property. This field is read-only.
public static readonly DependencyProperty BarStyleProperty
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
- MicroXYSeriesBase.DescriptionProperty
- MicroXYSeriesBase.AggregationFactorProperty
- MicroXYSeriesBase.IsAggregationEnabledProperty
- MicroXYSeriesBase.LegendItemTemplateProperty
- MicroXYSeriesBase.LegendMarkerStyleProperty
- MicroXYSeriesBase.LegendStringFormatProperty
- MicroXYSeriesBase.MarkerFirstStyleProperty
- MicroXYSeriesBase.MarkerHighStyleProperty
- MicroXYSeriesBase.MarkerLastStyleProperty
- MicroXYSeriesBase.MarkerLowStyleProperty
- MicroXYSeriesBase.MarkerNegativeStyleProperty
- MicroXYSeriesBase.MarkerStyleProperty
- MicroXYSeriesBase.MarkerStyleKindsProperty
- MicroXYSeriesBase.PrimaryAggregationKindProperty
- MicroXYSeriesBase.SecondaryAggregationKindProperty
- MicroXYSeriesBase.StackKindProperty
- MicroXYSeriesBase.XPathProperty
- MicroXYSeriesBase.YPathProperty
- MicroXYSeriesBase.NormalizeValue(Object, Object)
- MicroXYSeriesBase.PrepareSeries(MicroXYChartPlotter)
- MicroXYSeriesBase.Refresh()
- MicroXYSeriesBase.AggregationFactor
- MicroXYSeriesBase.Chart
- MicroXYSeriesBase.DataPoints
- MicroXYSeriesBase.Description
- MicroXYSeriesBase.IsAggregationEnabled
- MicroXYSeriesBase.LegendItemTemplate
- MicroXYSeriesBase.LegendMarkerStyle
- MicroXYSeriesBase.LegendStringFormat
- MicroXYSeriesBase.MarkerFirstStyle
- MicroXYSeriesBase.MarkerHighStyle
- MicroXYSeriesBase.MarkerLastStyle
- MicroXYSeriesBase.MarkerLowStyle
- MicroXYSeriesBase.MarkerNegativeStyle
- MicroXYSeriesBase.MarkerStyle
- MicroXYSeriesBase.MarkerStyleKinds
- MicroXYSeriesBase.PrimaryAggregationKind
- MicroXYSeriesBase.RequiresNormalizedValues
- MicroXYSeriesBase.SecondaryAggregationKind
- MicroXYSeriesBase.StackKind
- MicroXYSeriesBase.XPath
- MicroXYSeriesBase.YPath
- MicroSeriesBase.IndexProperty
- MicroSeriesBase.ItemsSourceProperty
- MicroSeriesBase.NotifyPropertyChanged(String)
- MicroSeriesBase.OnItemsSourceChanged(IEnumerable, IEnumerable)
- MicroSeriesBase.OnItemsSourceCollectionChanged(Object, NotifyCollectionChangedEventArgs)
- MicroSeriesBase.OnPropertyChanged(PropertyChangedEventArgs)
- MicroSeriesBase.Index
- MicroSeriesBase.ItemsSource
- MicroSeriesBase.PropertyChanged
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.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()