Please expose API to get the datatable selected in the dropdown list on top of "Data in analysis" flyout.
Our customer wants to mimic the same behavior as standard visualizations(e.g. BarChart) when adding a custom visual they developed to the page.
AKA, the custom visual is expected to be added with datatable being configured as the same as the datatable selected in "Data in analysis".