The BarSeries type exposes the following members.

Constructors

  NameDescription
Public methodBarSeries
Initializes a new instance of the BarSeries class.

Methods

  NameDescription
Public methodAddHandler
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
(Inherited from UIElement.)
Public methodApplyTemplate (Inherited from Control.)
Public methodArrange
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update.
(Inherited from UIElement.)
Protected methodArrangeOverride
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.
(Inherited from FrameworkElement.)
Protected methodBuildChartCore
Plots the BarSeries on the chart canvas.
(Overrides DataSeries..::..BuildChartCore()()()().)
Public methodCaptureMouse
Attempts to force capture of the mouse to this element.
(Inherited from UIElement.)
Public methodCheckAccess (Inherited from DependencyObject.)
Public methodClearValue
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodConvertLogicalToPhysicalPoint
Converts the given logical data point to a physical point on the chart canvas.
(Inherited from DataSeries.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindName
Finds an element that has the provided identifier name.
(Inherited from FrameworkElement.)
Public methodFocus (Inherited from Control.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetBindingExpression
Returns the BindingExpression that represents the binding on the specified property.
(Inherited from FrameworkElement.)
Protected methodGetDataPoint
Gets the CartesianDataPoint mapped to the given data object and index.
(Inherited from DataSeries.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetPoint(CartesianDataPoint)
Returns a Point containing the X and Y logical axis values of the given DataPoint.
(Inherited from DataSeries.)
Protected methodGetPoint(CartesianDataPoint, Boolean)
Returns a Point containing the X and Y logical axis values of the given DataPoint. In the case that the given data object is a primitive numerical value, the reverseAxes parameter can be used to specify that YAxis is the independent axis instead of the XAxis by default. This is useful for data series such as horizontal bar charts.
(Inherited from DataSeries.)
Protected methodGetTemplateChild (Inherited from Control.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateArrange
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()()().
(Inherited from UIElement.)
Public methodInvalidateMeasure
Invalidates the measurement state (layout) for the element.
(Inherited from UIElement.)
Public methodMeasure
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
(Inherited from UIElement.)
Protected methodMeasureOverride
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
(Inherited from FrameworkElement.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate()()()().
(Inherited from FrameworkElement.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Inherited from UIElement.)
Protected methodOnGotFocus (Inherited from Control.)
Protected methodOnKeyDown (Inherited from Control.)
Protected methodOnKeyUp (Inherited from Control.)
Protected methodOnLegendItemsChanged
Raises the LegendItemsChanged event.
(Inherited from DataSeries.)
Protected methodOnLostFocus (Inherited from Control.)
Protected methodOnLostMouseCapture (Inherited from Control.)
Protected methodOnManipulationCompleted (Inherited from Control.)
Protected methodOnManipulationDelta (Inherited from Control.)
Protected methodOnManipulationStarted (Inherited from Control.)
Protected methodOnMouseEnter (Inherited from Control.)
Protected methodOnMouseLeave (Inherited from Control.)
Protected methodOnMouseLeftButtonDown (Inherited from Control.)
Protected methodOnMouseLeftButtonUp (Inherited from Control.)
Protected methodOnMouseMove (Inherited from Control.)
Protected methodOnMouseWheel (Inherited from Control.)
Protected methodPrepareDataPoint
Prepares the given CartesianDataPoint to participate in selection features and data notifications.
(Inherited from DataSeries.)
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Protected methodRebuild
Forces the parent Chart control to rebuild all the data series.
(Inherited from DataSeries.)
Public methodReleaseMouseCapture
Releases the mouse capture, if this element held the capture.
(Inherited from UIElement.)
Public methodRemoveHandler
Removes the specified routed event handler from this element.
(Inherited from UIElement.)
Public methodSetBinding (Inherited from FrameworkElement.)
Protected methodSetTitle
Sets the title of the given Bar based on the TitleBinding property or the bar index if there is no TitleBinding.
Public methodSetValue
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTransformToVisual (Inherited from UIElement.)
Public methodUpdateLayout
Ensures that all visual child elements of this element are properly updated for layout.
(Inherited from UIElement.)

Fields

  NameDescription
Public fieldStatic memberBarSizeFactorProperty
Identifies the BarSizeFactor property.
Public fieldStatic memberBarStyleProperty
Identifies the BarStyle property.
Public fieldStatic memberDataLabelStyleProperty
Identifies the DataLabelStyle property.
Public fieldStatic memberOrientationProperty
Identifies the Orientation property.
Public fieldStatic memberShowAllLegendItemsProperty
Identifies the ShowAllLegendItems property.
Public fieldStatic memberShowDataLabelsProperty
Identifies the ShowDataLabels property.
Public fieldStatic memberZeroLineStyleProperty
Identifies the ZeroLineStyle property.

Properties

  NameDescription
Public propertyActualHeight
Gets the rendered height of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyActualWidth
Gets the rendered width of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyBackground
Gets or sets a brush that describes the background of a control. This is a  dependency property.
(Inherited from Control.)
Public propertyBarSizeFactor
Gets or sets the size factor used to calculate the thickness of the bars. This will typically be a value between 0 and 1. This value is the factor between a single axis unit and the thickness of a bar. A value of 1 will cause all the bars to be adjacent with no gaps between them (like a histogram). Smaller values put spaces between the bars. When plotting multiple bar series, the BarSizeFactor is used to calculate the total thickness of all the bars plotted on the same independent axis value. This is a dependency property. The default is 0.8.
Public propertyBarStyle
Gets or sets the Style applied to the bars. This is a dependency property.
Public propertyBorderBrush
Gets or sets a brush that describes the border background of a control. This is a  dependency property.
(Inherited from Control.)
Public propertyBorderThickness
Gets or sets the border thickness of a control. This is a dependency property.
(Inherited from Control.)
Public propertyBrushes
Gets the brushes used to fill the bars. If there are more bars than brushes, the brushes are used in rotation.
Public propertyCacheMode (Inherited from UIElement.)
Protected propertyCanvas
Gets the Canvas that the DataSeries will be rendered on.
(Inherited from DataSeries.)
Public propertyClip
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement.)
Public propertyCursor
Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDataContext
Gets or sets the data context for an element when it participates in data binding. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDataLabelStyle
Gets or sets the Style applied to the data labels. This is a dependency property.
Public propertyDataPoints
Gets a read only collection containing the CartesianDataPoint objects within the DataSeries. A CartesianDataPoint is the graphical representation of plotted data and is created by the DataSeries.
(Inherited from DataSeries.)
Protected propertyDefaultStyleKey (Inherited from Control.)
Public propertyDesiredSize
Gets the size that this element computed during the measure pass of the layout process.
(Inherited from UIElement.)
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyFontFamily
Gets or sets the font family of the control. This is a dependency property.
(Inherited from Control.)
Public propertyFontSize
Gets or sets the font size. This is a dependency property.
(Inherited from Control.)
Public propertyFontStretch
Gets or sets the degree to which a font is condensed or expanded on the screen. This is a dependency property.
(Inherited from Control.)
Public propertyFontStyle
Gets or sets the font style. This is a dependency property.
(Inherited from Control.)
Public propertyFontWeight
Gets or sets the weight or thickness of the specified font. This is a dependency property.
(Inherited from Control.)
Public propertyForeground
Gets or sets a brush that describes the foreground color. This is a dependency property.
(Inherited from Control.)
Public propertyHeight
Gets or sets the suggested height of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyHighlightMode
Gets or sets the highlight mode of the DataPoint objects in the DataSeries. The default is DataPointHighlightMode.None. This is a dependency property.
(Inherited from DataSeries.)
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyHorizontalContentAlignment
Gets or sets the horizontal alignment of the control's content. This is a dependency property.
(Inherited from Control.)
Protected propertyIndexStep
Gets the index step between data point that are to be rendered. Custom data series can use this value to optimise chart rendering.
(Inherited from DataSeries.)
Public propertyIsEnabled (Inherited from Control.)
Public propertyIsHitTestVisible
Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsTabStop
Gets or sets a value that indicates whether a control is included in tab navigation. This is a dependency property.
(Inherited from Control.)
Public propertyItemsSource
Gets or sets the ItemsSource. This is the data to be plotted on a Chart control. This is a dependency property.
(Inherited from DataSeries.)
Public propertyLanguage
Gets or sets localization/globalization language information that applies to an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyLegendIconTemplate
Gets or sets the LegendIconTemplate. This is a dependency property.
(Inherited from DataSeries.)
Public propertyLegendItems
Gets a list of legend items to be displayed in a legend for this BarSeries.
(Overrides DataSeries..::..LegendItems.)
Public propertyMargin
Gets or sets the outer margin of an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMaxHeight
Gets or sets the maximum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Protected propertyMaximumIndex
Gets the index of the data that is closest to the actual maximum value of the independent axis. Custom data series can use this value to optimise chart rendering.
(Inherited from DataSeries.)
Public propertyMaxWidth
Gets or sets the maximum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMinHeight
Gets or sets the minimum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Protected propertyMinimumIndex
Gets the index of the data that is closest to the actual minimum value of the independent axis. Custom data series can use this value to optimise chart rendering.
(Inherited from DataSeries.)
Public propertyMinWidth
Gets or sets the minimum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyName
Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyOpacity
Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Inherited from UIElement.)
Public propertyOpacityMask
Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyOrientation
Gets or sets the Orientation of the bars. The default is Orientation.Vertical. This is a dependency property.
Public propertyPadding
Gets or sets the padding inside a control. This is a dependency property.
(Inherited from Control.)
Public propertyParent
Gets the logical parent element of this element.
(Inherited from FrameworkElement.)
Public propertyProjection (Inherited from UIElement.)
Public propertyRenderSize
Gets (or sets, but see Remarks) the final render size of this element.
(Inherited from UIElement.)
Public propertyRenderTransform
Gets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyRenderTransformOrigin
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Inherited from UIElement.)
Public propertyResources
Gets or sets the locally-defined resource dictionary.
(Inherited from FrameworkElement.)
Public propertySelectedDataPoint
Gets the currently selected CartesianDataPoint. This will be null if none of the data points in the DataSeries are selected.
(Inherited from DataSeries.)
Public propertySelectionMode
Gets or sets the selection mode for the DataPoint objects displayed in the DataSeries. This is a dependency property.
(Inherited from DataSeries.)
Protected propertySeries
Gets the observable collection of DataSeries. This contains all the data series that are being plotted by the same Chart as this one.
(Inherited from DataSeries.)
Public propertySeriesBrush
Gets or sets the Brush used to color the DataSeries. This is a dependency property.
(Inherited from DataSeries.)
Public propertyShowAllLegendItems
Gets or sets whether or not each item in the ItemsSource should have its own legend item. This is a dependency property.
Public propertyShowDataLabels
Gets or sets the whether or not to display the data labels. This is a dependency property.
Public propertyStyle
Gets or sets the style used by this element when it is rendered. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertySupportsDataSampling
Gets whether the DataSeries supports sampling for large data sets.
(Inherited from DataSeries.)
Public propertyTabIndex
Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. This is a dependency property.
(Inherited from Control.)
Public propertyTabNavigation (Inherited from Control.)
Public propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyTemplate
Gets or sets a control template. This is a dependency property.
(Inherited from Control.)
Public propertyTitle
Gets or sets the title of the DataSeries. This is a dependency property.
(Inherited from DataSeries.)
Public propertyTitleBinding
Gets or sets the data binding used to extract the bar title from each data point.
Public propertyTriggers
Gets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement.)
Public propertyUseLayoutRounding (Inherited from UIElement.)
Public propertyVerticalAlignment
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyVerticalContentAlignment
Gets or sets the vertical alignment of the control's content. This is a dependency property.
(Inherited from Control.)
Public propertyVisibility
Gets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyWidth
Gets or sets the width of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyXAxis
Gets the X axis that the DataSeries is plotted against.
(Inherited from DataSeries.)
Public propertyXBinding
Gets or sets a binding used to extract the X axis value from a data object.
(Inherited from DataSeries.)
Public propertyYAxis
Gets the Y axis that the DataSeries is plotted against.
(Inherited from DataSeries.)
Public propertyYAxisTitle
Gets or sets the title of the Y axis that this data series will be plotted against. This is used for plotting along an alternate Y axis of the Chart. This is a dependency property.
(Inherited from DataSeries.)
Public propertyYBinding
Gets or sets a binding used to extract the Y axis value from a data object.
(Inherited from DataSeries.)
Public propertyZeroLineStyle
Gets or sets the style applied to the zero line of the bar chart. This is a dependency property.

Events

  NameDescription
Public eventBindingValidationError (Inherited from FrameworkElement.)
Public eventGotFocus
Occurs when this element gets logical focus.
(Inherited from UIElement.)
Public eventIsEnabledChanged (Inherited from Control.)
Public eventKeyDown
Occurs when a key is pressed while focus is on this element.
(Inherited from UIElement.)
Public eventKeyUp
Occurs when a key is released while focus is on this element.
(Inherited from UIElement.)
Public eventLayoutUpdated (Inherited from FrameworkElement.)
Public eventLegendItemsChanged
Raised when the legend items for this DataSeries changes.
(Inherited from DataSeries.)
Public eventLoaded
Occurs when the element is laid out, rendered, and ready for interaction.
(Inherited from FrameworkElement.)
Public eventLostFocus
Occurs when this element loses logical focus.
(Inherited from UIElement.)
Public eventLostMouseCapture
Occurs when this element loses mouse capture.
(Inherited from UIElement.)
Public eventManipulationCompleted (Inherited from UIElement.)
Public eventManipulationDelta (Inherited from UIElement.)
Public eventManipulationStarted (Inherited from UIElement.)
Public eventMouseEnter
Occurs when the mouse pointer enters the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseMove
Occurs when the mouse pointer moves while over this element.
(Inherited from UIElement.)
Public eventMouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventSizeChanged
Occurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Inherited from FrameworkElement.)
Public eventUnloaded
Occurs when the element is removed from within an element tree of loaded elements.
(Inherited from FrameworkElement.)

See Also