UpBars Interface

Represents the up bars in a chart group.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("86905AC9-33F3-4A88-96C8-B289B0390BCA")]
public interface UpBars

Up bars connect points on series one with higher values on the last series in the chart group (the lines go up from series one). Only 2-D line groups that contain at least two series can have up bars. This object isn’t a collection. There’s no object that represents a single up bar; you either have up bars turned on for all points in a chart group or you have them turned off.

If the HasUpDownBars property is False, most properties of the UpBars object are disabled.

Use the UpBars property to return the UpBars object. The following example turns on up and down bars for chart group one of the first chart in the active document. The example then sets the up bar color to blue and sets the down bar color to red.

Community Additions

ADD
Show:
© 2014 Microsoft