GetCurrentSeries

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

Syntax

dwcontrol.modify("graphcontrol.tooltip.tip='~tGetCurrentSeries(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 series.

Examples

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