ReferenceLine (Object)

Member of:

ReferenceLines collection

Description:

Represents an individual Chart section reference line. Reference lines are horizontal or vertical lines drawn in the Chart diagram to indicate user-defined static values.

Note the behavior of a reference line:

Exanple:

This example show how to return and write the label text and value associated with a reference line to the Console:

Console.Write(ActiveDocument.Sections["Chart"].ReferenceLines[1].GetLabelText())

Methods:

GetLabelText([optional] Number z), GetValue([optional] Number z), Remove(), SetValue(Value as Number)

Properties:

Read write: Axis as BqChartAxisType, DrawingOrder as BqDrawingOrder, FactIndex as Number, Function as BqDataFunction, LabelFormat as String, LegendFormat as String, NumberFormat as String, ShowInLegend as Boolean, ShowLabel as Boolean