Forum Discussion
Custom Visual Objects Migration & Report Page Tooltip Properties
- 7 years ago
Hi dm-p ,
The predefined properties can't be controlled from Custom Visuals. That means you can not change order and you can not get their values.
To keep backward compatibility you should keep both tooltip and visualTooltip in the capabilities.json. It's required to get tooltip options in legacy reports.
EnumerateObjectInstances should return an empty array for the tooltip to hide it in Format Panel.
As a third step, you should update Settings parse to check visualTooltip first. It's defined you should ignore values from the tooltip. Otherwise, you should copy tooltip to visualTooltip in your Settings parser.
Let me know if you have any questions.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi dm-p ,
The predefined properties can't be controlled from Custom Visuals. That means you can not change order and you can not get their values.
To keep backward compatibility you should keep both tooltip and visualTooltip in the capabilities.json. It's required to get tooltip options in legacy reports.
EnumerateObjectInstances should return an empty array for the tooltip to hide it in Format Panel.
As a third step, you should update Settings parse to check visualTooltip first. It's defined you should ignore values from the tooltip. Otherwise, you should copy tooltip to visualTooltip in your Settings parser.
Let me know if you have any questions.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals