Application.ResourceGraphBarStyles Method
Project Developer Reference |
Sets the styles of bars on the Resource Graph.
Syntax
expression.ResourceGraphBarStyles(TopLeftShowAs, TopLeftColor, TopLeftPattern, BottomLeftShowAs, BottomLeftColor, BottomLeftPattern, TopRightShowAs, TopRightColor, TopRightPattern, BottomRightShowAs, BottomRightColor, BottomRightPattern, ShowValues, ShowAvailabilityLine, PercentBarOverlap, ProposedLeftShowAs, ProposedLeftColor, ProposedLeftPattern, ProposedRightShowAs, ProposedRightColor, ProposedRightPattern)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
TopLeftShowAs | Optional | Long | The bar type for the category in the upper-left corner of the Bar Styles dialog box. Can be one of the following PjResourceGraphStyle constants: pjBar, pjArea, pjStep, pjLine, pjStepLine, or pjDoNotShow. |
TopLeftColor | Optional | Long | The bar color for the category in the upper-left corner of the Bar Styles dialog box. Can be one of the PjColor constants. |
TopLeftPattern | Optional | Long | The bar pattern for the category in the upper-left corner of the Bar Styles dialog box. Can be one of the PjResourceGraphPattern constants. |
BottomLeftShowAs | Optional | Variant | Long. The bar type for the category in the lower-left corner of the Bar Styles dialog box. Can be one of the PjResourceGraphStyle constants. |
BottomLeftColor | Optional | Long | The bar color for the category in the lower-left corner of the Bar Styles dialog box. Can be one of the PjColor constants. |
BottomLeftPattern | Optional | Long | The bar pattern for the category in the lower-left corner of the Bar Styles dialog box. Can be one of the PjResourceGraphPattern constants. |
TopRightShowAs | Optional | Variant | Long. The bar type for the category in the upper-right corner of the Bar Styles dialog box. Can be one of the PjResourceGraphStyle constants. |
TopRightColor | Optional | Long | The bar color for the category in the upper-right corner of the Bar Styles dialog box. Can be one of the PjColor constants. |
TopRightPattern | Optional | Long | The bar pattern for the category in the upper-right corner of the Bar Styles dialog box. Can be one of the PjResourceGraphPattern constants. |
BottomRightShowAs | Optional | Long | The bar type for the category in the lower-right corner of the Bar Styles dialog box. Can be one of the PjResourceGraphStyle constants. |
BottomRightColor | Optional | Long | The bar color for the category in the lower-right corner of the Bar Styles dialog box. Can be one of the PjColor constants. |
BottomRightPattern | Optional | Long | The bar pattern for the category in the lower-right corner of the Bar Styles dialog box. Can be one of the PjResourceGraphPattern constants. |
ShowValues | Optional | Boolean | True if the corresponding values appear below the bars. |
ShowAvailabilityLine | Optional | Variant | Boolean. True if a horizontal line appears where a resource reaches its maximum availability. |
PercentBarOverlap | Optional | Integer | A number from 0 to 100 that specifies the overlap percentage of displayed bars. |
ProposedLeftShowAs | Optional | Variant | |
ProposedLeftColor | Optional | Variant | |
ProposedLeftPattern | Optional | Variant | |
ProposedRightShowAs | Optional | Variant | |
ProposedRightColor | Optional | Variant | |
ProposedRightPattern | Optional | Variant |
Return Value
Boolean
See Also