MindFusion.Charting for JavaScript Programmer's Guide
BarRenderer Members
Constructors Properties Methods
 


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 identifying whether bars should be horizontal.

innerLabelRotation

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

outerLabelRotation

Gets 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.

stackOuterLabels

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

 Public Methods

  Name Description

adjustDataRange

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

draw

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

drawHighlight

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

enumVisibleBars

Enumerates the bars visible in current data range.

hitTest

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

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.

 See Also

BarRenderer Class
MindFusion.Charting Namespace