Reference Line object
Sets the data function applied to the reference line fact value.
BqDataFunction (Read only) constant group, which consists of the following values:
bqDataFunctionAverage
bqDataFunctionColumnName
bqDataFunctionCount
bqDataFunctionCountDistinct
bqDataFunctionIncrease (Pivot Totals properties, not Facts)
bqDataFunctionMaximum
bqDataFunctionMinimum
bqDataFunctionNone
bqDataFunctionNonNullAverage
bqDataFunctionNonNullCount
bqDataFunctionPercentOfCategory
bqDataFunctionPercentOfColumn
bqDataFunctionPercentOfGrand
bqDataFunctionPercentOfIncrease
bqDataFunctionPercentOfRow
bqDataFunctionSum
This example shows how to read the data function value applied to the fact item on the reference line, and display it in the Console window.
Console.Write(ActiveDocument.Sections["Chart8"].ReferenceLines[1].Function)