When i click a data point in scatter plot can i take the userid as parameter and add it to the url and move to other tab with that url.
click on scatter plot and get the external url with a click and show the new tab with that parameter.
When i click a data point in scatter plot can i take the userid as parameter and add it to the url and move to other tab with that url.
click on scatter plot and get the external url with a click and show the new tab with that parameter.
Hi there.
I think your confusion is where the userID comes in. clickData
simply records information on the click, and not on the userID. So, any information on the userID would need to be gleaned from elsewhere.
As an example, consider the case where userID is stored in the URL of a dash app. You can then use a callback with two inputs (clickData
and pathname
from the URL) to generate a dcc.Link
which can then open up a new window.