AvgBarOn Property

The AvgBarOn property returns or sets if average bar should be displayed in error bars. Returns a Boolean.

Syntax

object.AvgBarOn

object.AvgBarOn = AvgBarOn

 

Parameter Type Description
AvgBarOn Boolean required, true to show average bars

 

Example 1

This example shows how to enable the average bars for error bars.

Line1.ErrorBars.AvgBarOn = True

Example 2

This example shows how to return if the average bars are enabled.

Debug.Print Line1.ErrorBars.AvgBarOn

 

Used by: AutoErrorBars object