Search
BarRenderer Members
Constructors Properties Methods Events
 


A SeriesRenderer that draws bars in its containing plot.

The following tables list the members exposed by the BarRenderer type.

 Public Constructors

  Name Description

BarRenderer

Initializes a new instance of the BarRenderer class.

 Public Properties

  Name Description

BarSpacingRatio

Gets or sets the ratio of empty space between adjacent bar groups to space occupied by bars.

HorizontalBars

Gets or sets a value indicating whether bars should be horizontal.

InnerLabelRotation

Gets or sets the rotation angle of inner labels. If not specified, labels are rotated at predefiend angles depending on bars' orientation and layout.

LabelBrush

Gets or sets the Brush that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

LabelFontName

Gets or sets the name of font that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

LabelFontSize

Gets or sets the size of font that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

LabelFontStyle

Gets or sets the style of font that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

OuterLabelRotation

Gets or sets the rotation angle of outer labels. If not specified, labels are rotated at predefiend angles depending on bars' orientation and layout.

SameIndexSpacingRatio

Gets or sets the ratio of empty space to occupied space in bar groups drawn for data items as same index in each series.

Series

Gets or sets a list of Series drawn by this Renderer2D. (Inherited from Renderer2D.)

SeriesStyle

A SeriesStyle instance specifying the appearance of series associated with this renderer. (Inherited from SeriesRenderer.)

ShowDataLabels

Gets or sets the kind of data labels to draw. (Inherited from SeriesRenderer.)

ShowHighlight

Gets or sets a value indicating whether to show highlights on data items. (Inherited from SeriesRenderer.)

ShowToolTips

Gets or sets a value indicating whether to show tooltips. (Inherited from SeriesRenderer.)

StackOuterLabels

Gets or sets whether outer labels are displayed stacked on top of stacked bars, instead of showing them on the bar sides.

XAxis

Gets the X axis associated with this Renderer2D. (Inherited from Renderer2D.)

YAxis

Gets the Y axis associated with this Renderer2D. (Inherited from Renderer2D.)

 Public Methods

  Name Description

DomainDimension

Implements the SeriesContainer interface. Gets the index of the dimension whose set of values should be treated as domain of plotted function. (Inherited from SeriesRenderer.)

EffectiveFill

Gets the brush that should be used to fill the representation of specified data item. (Inherited from SeriesRenderer.)

EffectiveStroke

Gets the brush that should be used to stroke the representation of specified data item. (Inherited from SeriesRenderer.)

EffectiveStrokeThickness

Gets the thickness of the pen that should be used to stroke the representation of specified data item. (Inherited from SeriesRenderer.)

EnumSeries

Implements the SeriesContainer interface. (Inherited from Renderer2D.)

HitTest

Renderer2D.HitTest override. Hit-tests the bar representations of data items.

SearchStyle

Returns a SeriesStyle object that meets specified criteria. (Inherited from SeriesRenderer.)

StartMeasureData

SeriesRenderer.StartMeasureData override. Called to reset measure accumulators at the beginning of a measure pass. (Inherited from Renderer2D.)

 Protected Methods

  Name Description

AdjustDataRange

SeriesRenderer.AdjustDataRange override. Adjusts the data range of associated Axis objects after initial measure pass.

CreateTextRenderer

  (Inherited from SeriesRenderer.)

DomainData

Gets the domain axis coordinate (input value) of specified data item. (Inherited from Renderer2D.)

Draw

SeriesRenderer.Draw override. Draws the series data in specified RenderContext.

DrawHighlight

Renderer2D.DrawHighlight override. Draws highlighted bar in specified RenderContext.

EffectiveLabelBackground

  (Inherited from SeriesRenderer.)

EffectiveLabelBorderPen

  (Inherited from SeriesRenderer.)

EffectiveLabelBrush

Gets the Brush that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

EffectiveLabelFont

Gets the Font that should be used to draw labels of data items. (Inherited from SeriesRenderer.)

EffectiveStrokeDashStyle

Gets the dash style of the pen that should be used to stroke the representation of specified data item. (Inherited from SeriesRenderer.)

EffectiveStrokePen

Gets the Pen that should be used to stroke the representation of specified data item. (Inherited from SeriesRenderer.)

EnumVisibleBars

Enumerates the bars visible in current data range.

EnumVisiblePointPairs

Enumerates the data values of rendered series mapped to plot 2D coordinates. (Inherited from Renderer2D.)

EnumVisiblePoints

Overloaded. Enumerates the data values of rendered series mapped to plot 2D coordinates. (Inherited from Renderer2D.)

EnumVisibleRanges

Enumerates each series once providing a list of all visible points at each iteration. (Inherited from Renderer2D.)

GetFirstInRange

Overloaded. Gets the index of first data item. (Inherited from Renderer2D.)

GetLastInRange

Overloaded. Gets the index of last data item. (Inherited from Renderer2D.)

GetMaxXSum

Gets the maximum sum of X data values locates at same index in all series. (Inherited from Renderer2D.)

GetMaxXSumPositive

  (Inherited from Renderer2D.)

GetMaxYSum

Gets the maximum sum of Y data values locates at same index in all series. (Inherited from Renderer2D.)

GetMaxYSumPositive

  (Inherited from Renderer2D.)

GetMinXSumNegative

  (Inherited from Renderer2D.)

GetMinYSumNegative

  (Inherited from Renderer2D.)

GetPixel

Overloaded. Gets the coordinates of specified data item when mapped to a Plot2D pixel. (Inherited from Renderer2D.)

ImageData

Gets the image axis coordinate (output value) of specified data item. (Inherited from Renderer2D.)

MeasureDataRange

Renderer2D.MeasureDataRange override. Measures the data range of rendered series and assigns it to the associated Axis objects if their MinValue and MaxValue are not set.

OnPropertyChanged

Raises the PropertyChanged event. (Inherited from SeriesRenderer.)

OnSeriesDataChanged

Called when Series raise their DataChanged event. (Inherited from SeriesRenderer.)

SetToolTip

Sets tooltip text and location. (Inherited from SeriesRenderer.)

Subscribe

Subscribes to the DataChanged event of specified Series. (Inherited from SeriesRenderer.)

Unsubscribe

Unsubscribes from the DataChanged event of specified Series. (Inherited from SeriesRenderer.)

XData

Gets the X value of specified data item. (Inherited from Renderer2D.)

XSorted

Gets a value indicating whether values of specified series increase monotonously in X dimension. (Inherited from Renderer2D.)

YData

Gets the Y value of specified data item. (Inherited from Renderer2D.)

YSorted

Gets a value indicating whether values of specified series increase monotonously in Y dimension. (Inherited from Renderer2D.)

 Public Events

  Name Description

PropertyChanged

Implements the INotifyPropertyChanged interface. (Inherited from SeriesRenderer.)

 See Also