The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Is there a way to find out if the user has disabled tooltips in a custom visual?
I want to make the check to decide if an element in my visualization requires a special cursor or not.
Small detail, but visuals without filters and tooltips should not have pointer as cursors.
Thanks.
Solved! Go to Solution.
Hi @superspandl,
In a custom visual you can only request that Power BI display a tooltip; not read the state of any properties from this menu. Tooltips (and other settings under the General properties of a visual) are applied to the developer host rather than the internal iframe and as such cannot be communicated with unless there is an API to do so.
There is an open issue for this idea here - I'd suggest adding any feedback to it to help boost its visibility with the team.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @superspandl,
In a custom visual you can only request that Power BI display a tooltip; not read the state of any properties from this menu. Tooltips (and other settings under the General properties of a visual) are applied to the developer host rather than the internal iframe and as such cannot be communicated with unless there is an API to do so.
There is an open issue for this idea here - I'd suggest adding any feedback to it to help boost its visibility with the team.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thanks Daniel,
Very precise answer. I will stop searching and add a note to the suggested feature request.
ralph
P.S. Thanks for your custom visuals course . Helped a lot!