In This Article

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
Inheritance:
object Visual UIElement FrameworkElement Control MicroSeriesBase MicroXYSeriesBase object
Derived:
MicroBarSeries MicroWinLossSeries

Constructors

MicroBarSeriesBase()

Initializes an instance of the class.

protected MicroBarSeriesBase()

Properties

BarHighStyle

Gets or sets a Style, which is applied to the Shape element used to render the high bar along the series. This is a dependency property.

public Style BarHighStyle { get; set; }

Property Value

Style:

A Style, which is applied to the Shape element used to render the high bar along the series. The default value is null.

BarLowStyle

Gets or sets a Style, which is applied to the Shape element used to render the low bar along the series. This is a dependency property.

public Style BarLowStyle { get; set; }

Property Value

Style:

A Style, which is applied to the Shape element used to render the low bar along the series. The default value is null.

BarNegativeStyle

Gets or sets a negative Style, which is applied to the Shape used to render the series. This is a dependency property.

public Style BarNegativeStyle { get; set; }

Property Value

Style:

A negative Style, which is applied to the 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 Style, which is applied to the Shape used to render the series. This is a dependency property.

public Style BarStyle { get; set; }

Property Value

Style:

A Style, which is applied to the 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

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

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

bool:

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

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