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. | |
| | 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. | |
| | Height | Retrieves or sets a value that indicates the height in pixels of the bar. | |
| | Name | Retrieves the name of the bar. | |
| | 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. | |
| | 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. | |