BaseVal Property

BaseVal returns or sets the Base value for a bar map. Returns a double.

 

Syntax

object.BaseVal( VariableIndex )

object.BaseVal( VariableIndex ) = BaseVal

 

Parameter

Type

Description

VariableIndex

Integer

required; variable to apply the base value, see remarks

BaseVal

Double

required; base value

 

Remarks

You must enable AllowNegativeBar to use this command. If Proportional across variables is enabled (Proportional Property), this value applies to all variables. If Proportional across variables is disabled, the value applies to specific variables (VariableIndex).

 

Example 1

This example returns the bar base value for the first variable in a bar map.

 

Debug.Print BarMap.BaseVal(VariableIndex:=1)

 

Example 2

This example sets the base value to 200 for the first variable in a bar map.

 

BarMap.BaseVal(1) = 200

 

Used by: BarMap object