Bar object
The Bar object identifies a bar in the chart. A Bar object contains three parts: the start part and end part identifies the corners of the bar, and the middle part of the bar. The look and feel of the middle part of the bar are defined by the properties: Color, Pattern and Shape. The StartShape and StartColor properties defines the start part of the bar. The EndShape and EndColor properties defines the end part of the bar. Use the Bars property to access the Bars collection. Use the Chart object property to access the control's chart. Use the AddBar method to add a bar to an item. Use the Add and Copy methods to add new Bar objects. The Bar object supports the following properties and methods:

NameDescription
ColorSpecifies the color of the bar.
DefSpecifies the default value of the given property for bars of the same type.
EndColorReturns or sets a value that indicates the color for the right side corner.
EndShapeRetrieves or sets a value that indicates the shape of the right side corner.
FormatHistogramValuesSpecifies the format to show bar's value in the histogram.
HeightRetrieves or sets a value that indicates the height in pixels of the bar.
HistogramBorderColorRetrieves or sets a value that indicates the color to show the histogram's border.
HistogramBorderSizeSpecifies the size of the border in pixels to show the bar's histogram.
HistogramColorRetrieves or sets a value that indicates the color to be used in the histogram.
HistogramCriticalColorRetrieves or sets a value that indicates the color to paint the overallocations in the histogram.
HistogramCriticalValueSpecifies the histogram's critical value.
HistogramCumulativeColorRetrieves or sets a value that indicates a cumulative color to be shown in the histogram.
HistogramCumulativeColorsSpecifies the number of colors that the histogram may show when it displays bars using cumulative type.
HistogramCumulativeOriginalColorBarsSpecifies whether the original bar's color is changed accordingly to the cumulative histogram.
HistogramCumulativeShowLegendSpecifies the index of the column to display the legend for the cumulative bars in the histogram.
HistogramGridLinesColorRetrieves or sets a value that indicates the color to show the histogram's grid lines.
HistogramItemsSpecifies the number of items being represented in the histogram when overload is shown.
HistogramPatternRetrieves or sets a value that indicates the pattern to be used in the histogram.
HistogramRulerLinesColorRetrieves or sets a value that indicates the color to show the histogram's ruler lines.
HistogramTypeRetrieves or sets a value that indicates the type of the histogram.
NameRetrieves the name of the bar.
OverlaidRetrieves or sets a value that indicates options for the specified overlaid type.
OverlaidGroupSpecifies the list of bars beside the current bar that may cover each other.
OverlaidTypeSpecifies how the overlaid bars are shown.
OverviewColorRetrieves or sets a value that indicates the color to show the bars of this type in the control's overview panel.
PatternRetrieves or sets a value that indicates the pattern being used to fill the bar.
ShapeRetrieves or sets a value that indicates the shape of the bar.
ShortcutSpecifies a value that indicates a shortcut for the current bar.
ShowHistogramValuesSpecifies the formula that returns the color to display the selected values in the histogram for specified type of bar.
StartColorReturns or sets a value that indicates the color for the left side corner.
StartShapeRetrieves or sets a value that indicates the shape of the left side corner.