WithChartItems (SetDataPointItem - Tooltip)
Applies a tooltip to a specific data point from a series in the currently initialised chart definition.
Syntax
WithChartItems( InstructionType, SeriesName, DataPointIndex, InstructionSubType, ToolTipText );
Parameters
Parameter Name | Type | Description | Optional? | Default Value |
---|---|---|---|---|
InstructionType | Integer or String | Must be set to either the integer 23 or the string "SetDataPointItem". | No | n/a |
SeriesName | String | The name of the series that containing the intended data point. | No | n/a |
DataPointIndex | String | The zero-based index of the data point to update. This index is assigned to all data points based on the order in which they were added, beginning from 0. | No | n/a |
InstructionSubType | Integer or String | Must be set to either the integer 1 or the string "Tooltip". | No | n/a |
ToolTipText | String | The text to use for the tooltip. | No | n/a |
Output
If successful, the function will return True; otherwise, it will return False.