Since the modern visual tooltips are picking the styles from report theme and applying it, I think providing a way also to access the default tooltip formatting option values makes it more beneficial for a custom visual to handle personalizations within the tooltip canvas.
Hi @akshaytech9 - still no. The 'General' menus are not visible or accessible to custom visuals as any formatting is applied to the container rather than the visual itself.
For reference, the following properties you cannot access (and made more evident with the new property menu changes) are:
Any properties you can read/write (specific to your visual capabilities) are now displayed under the Visual tab.
As tooltips are handled by the main window, their only purpose is to display data that you ask the APIs to represent and Power BI will delegate on your behalf. Modern tooltips are combination of the classic and canvas tooltip in terms of how they are implemented: if you want data point-centric features like drill through then you need to supply a valid selection ID for the data point too - like a canvas tooltip - and its display is worked out based on the configuration in the Tooltip property menu.
If you have a case for needing to access these properties, then the previous suggestion of creating an issue in the tools repo can signal to the team that this is a feature you would like to see added.
Did I answer your question? Mark my post as a solution!
Hi @lucmax - unfortunately not. The comms with tooltips is only one-way, i.e. you can only push an array of objects (to invoke default) and/or a selection ID (to try and invoke canvas) and Power BI resolves this based on its knowledge of available tooltip pages in a report. The visual host doesn't pass anything back as to what is actually displayed by the main window.