Charting for WinForms Programmer's Guide
BarStackRenderer Class
Remarks See Also

A SeriesRenderer that draws stacked bars in its containing plot.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting


C#  Copy Code

public class BarStackRenderer : StackRenderer, BarContainer

Visual Basic  Copy Code

Public Class BarStackRenderer
    Inherits StackRenderer
    Implements BarContainer


BarStackRenderer must be placed inside a Plot2D component. It draws each data item as a bar, and if there are more than one series provided, the bar is stacked over the one drawn for previous series. If the GetLabel method of Series object returns InnerLabel string, it is drawn inside its corresponding bar. If GetLabel returns OuterLabel string, it is drawn to the right side of the bar.

Bar renderers can work with either one- or two- dimensional data series. If series' Dimensions property returns 1, the data values are used to calculate the height of bars. If Dimensions returns 2, values from first dimension are used to calculate positions of bars, and values from second dimension are used to calculate heights. If a bar renderer contains more than one series, positions of bar stacks are determined only by GetValue results of first series.

 Inheritance Hierarchy


 See Also

BarStackRenderer Members
MindFusion.Charting Namespace