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:
| | Name | Description | |
| | Color | Specifies the color of the bar. | |
| | Def | Specifies the default value of the given property for bars of the same type. | |
| | EndColor | Returns or sets a value that indicates the color for the right side corner. | |
| | EndShape | Retrieves or sets a value that indicates the shape of the right side corner. | |
| | FormatHistogramValues | Specifies the format to show bar's value in the histogram. | |
| | Height | Retrieves or sets a value that indicates the height in pixels of the bar. | |
| | HistogramBorderColor | Retrieves or sets a value that indicates the color to show the histogram's border. | |
| | HistogramBorderSize | Specifies the size of the border in pixels to show the bar's histogram. | |
| | HistogramColor | Retrieves or sets a value that indicates the color to be used in the histogram. | |
| | HistogramCriticalColor | Retrieves or sets a value that indicates the color to paint the overallocations in the histogram. | |
| | HistogramCriticalValue | Specifies the histogram's critical value. | |
| | HistogramCumulativeColor | Retrieves or sets a value that indicates a cumulative color to be shown in the histogram. | |
| | HistogramCumulativeColors | Specifies the number of colors that the histogram may show when it displays bars using cumulative type. | |
| | HistogramCumulativeOriginalColorBars | Specifies whether the original bar's color is changed accordingly to the cumulative histogram. | |
| | HistogramCumulativeShowLegend | Specifies the index of the column to display the legend for the cumulative bars in the histogram. | |
| | HistogramGridLinesColor | Retrieves or sets a value that indicates the color to show the histogram's grid lines. | |
| | HistogramItems | Specifies the number of items being represented in the histogram when overload is shown. | |
| | HistogramPattern | Retrieves or sets a value that indicates the pattern to be used in the histogram. | |
| | HistogramRulerLinesColor | Retrieves or sets a value that indicates the color to show the histogram's ruler lines. | |
| | HistogramType | Retrieves or sets a value that indicates the type of the histogram. | |
| | Name | Retrieves the name of the bar. | |
| | Overlaid | Retrieves or sets a value that indicates options for the specified overlaid type. | |
| | OverlaidGroup | Specifies the list of bars beside the current bar that may cover each other. | |
| | OverlaidType | Specifies how the overlaid bars are shown. | |
| | OverviewColor | Retrieves or sets a value that indicates the color to show the bars of this type in the control's overview panel. | |
| | Pattern | Retrieves or sets a value that indicates the pattern being used to fill the bar. | |
| | Shape | Retrieves or sets a value that indicates the shape of the bar. | |
| | Shortcut | Specifies a value that indicates a shortcut for the current bar. | |
| | ShowHistogramValues | Specifies the formula that returns the color to display the selected values in the histogram for specified type of bar. | |
| | StartColor | Returns or sets a value that indicates the color for the left side corner. | |
| | StartShape | Retrieves or sets a value that indicates the shape of the left side corner. | |