Home > @i2analyze/notebook-sdk > commands > ICommandInvocationContext > triggerPosition
commands.ICommandInvocationContext.triggerPosition property
Gets the position on the chart at which the command was triggered, in chart coordinates.
Signature:
readonly triggerPosition?: visual.IPosition;
Returns: visual.IPosition
Introduced: version 1.10
Remarks
This is undefined if the command was triggered without a positional origin. For example, when a command is invoked from a pop-up (right-click) menu, this is the position on the chart at which the menu was opened.