The markHighlight parameter can be used to query or set if the specified mark should be highlighted. If a mark is highlighted, it will be drawn with the style attributes indicated by the markStyle parameter.
query command
set command
The specified mark in the current view.
query markHighlight.[name | #id]
set markHighlight.[name | #id] { on | off }
| name | Use the name parameter to specify the name of an existing mark. Mark names may contain any characters but spaces and may not start with the # character. |
| id | Use the id parameter to specify the id of an existing mark. |
| on | Use the on parameter to indicate that the specified mark should be highlighted. |
| off | Use the off parameter to indicate that the specified mark should not be highlighted. |
If you do not specify a mark name or a mark id, the last mark created will be used.
query markHighlight.test set markHighlight.test on set markHighlight.#3 off
![]()
query command
set command
mark parameter
markId parameter
markStyle parameter