I would like to have href
defined on mark of type symbol in Vega plugin which will use URL to open other dashboard. So it should contain parameter from data set, e.g. datum._source.parameter
.
How to encode such URL as a value for href
?
I tried to do the following (URL is simplified just for the purposes of this topic):
"href": {"value": "https://+datum._source.parameter"}
But in that case the parameter in URL is not filled from data set.
I tried also:
"href": {"signal": "https://+datum._source.parameter"}
And in that case I have error: Expression parse error: "http://+datum._source.parameter"
What should be the correct way?