Did they add this funcionality in R2019b? Because as of version R2019a, Matlab App Designer UIFigures did not support mouse interactions. I recall they wanted to add it in an upcoming release, check in "Graphics support for App Designer" help page or something alike unless you are sure.
I have the same problem: the data tips don't appear in the app.UIAxes, but they do appear in a separate figure window I let run beside it. As you can see in the figure, there is also no 'option' above on the right (next to 'pan' and 'zoom') to click 'datatips'. This option is available in the separate figure.
I inserted the enableDefaultInteractivity(app.UIAxes) at the end of the function but that doesn't do the trick either. Is there a solution to this or something I can verify?
When working with appdesigner in Matlab 2020a, I am not seeing any data cursor enabled for axes in my user interface. Here I have circled where I was expecting to see the data cursor icon when hovering mouse over the axes.
When working in GUIDE, this functionality was automatically enabled. Here is an example for one my my GUIDE applications.
I sense from the earlier post that data cursor functionality should be enabled by default?
Also, would this issue be related to my not being able to right-click and open a Context Menu? I am also seeing this issue.
I am having a little similar but a different issue. I can add a new datatip to my image displayed on a MATLAB app. But I am unable to place multiple datatips, which is a requirement for my app. Usually on a MATLAB figure, I can simply place as many datatips I want, but in the AppDesigner environment, I can only place one datatip at max. Can you please help me figure out how to place multiple datatips? Thank you.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/523710-how-to-enable-data-tips-in-app-designer-in-r2019b#comment_845940
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/523710-how-to-enable-data-tips-in-app-designer-in-r2019b#comment_845940
Sign in to comment.