A SeriesRenderer that draws overlaying bars in its containing plot.
Namespace: MindFusion.Charting
Assembly: MindFusion.Charting
C# Copy Code |
---|
public class BarOverlayRenderer : Renderer2D, BarContainer |
Visual Basic Copy Code |
---|
Public Class BarOverlayRenderer |
BarOverlayRenderer must be placed inside a Plot2D component. It draws each data item as a bar, and if there are more than one series provided, groups of data elements at same index are drawn as overlaying bars. If the GetLabel method of Series object returns InnerLabel string, it is drawn inside its corresponding bar, so inner labels are only useful for the first series drawn. If GetLabel returns OuterLabel string, it is draw at top 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 groups are determined only by GetValue results of first series.
System.Object
MindFusion.Charting.SeriesRenderer
MindFusion.Charting.Renderer2D
MindFusion.Charting.BarOverlayRenderer
MindFusion.Charting.BarOverlayRenderer3D