GetCurrentValue

Gets the value for a data point in a graph so that you can include it in a tooltip.

Syntax

dwcontrol.modify("graphcontrol.tooltip.tip='~tGetCurrentValue(graphcontrol)'")

Parameters

  • dwcontrol – A reference to the DataWindow control containing the graph.
  • graphcontrol – A string value that is the name of the graph in the DataWindow for which you want to get the category.

Examples

  • – In this example, the tooltip for the graph is enabled and displays the value.
    dw_1.modify("gr_1.tooltip.tip='~tGetCurrentValue(gr_1)'")
    dw_1.Modify("gr_1.tooltip.enabled=1")