The BarColorForText property returns or sets the Use bar color for text option on a bar map. Returns a Boolean.
Syntax
object.BarColorForText
object.BarColorForText = BarColorForText
Parameter |
Type |
Description |
BarColorForText |
Boolean |
required; true to use the bar color for the labels |
Remarks
You must enable the drawing of data text with the DrawDataText property prior to using the BarColorForText property.
Example 1
This example draws data text on a bar map based on a bar's front face color.
BarMap.BarColorForText = True
Example 2
This example returns the state of using a bar's color for the data text on a bar map.
Debug.Print BarMap.BarColorForText
Used by: BarMap object