MATLAB Answers

Data Tips Enable in an WebApp

12 views (last 30 days)
Justus Mayer
Justus Mayer on 6 Aug 2020
Commented: Justus Mayer on 17 Aug 2020
I am currently trying to create a web app in Matlab and would have a question.
If I display a subplot in a panel, I can assign DataTips to the individual points, but I lack the Data Tips icon. can someone tell me how I can activate it?
i tried everything possible with datacursormode but that didn't lead to any result
Best regards Justus

  0 Comments

Sign in to comment.

Answers (1)

Julian
Julian on 13 Aug 2020
According to the limitations here "Data tips for graphics are not supported"
However I really need this feature so that an end-user can interact with a plot and identify interesting or outlying points in the dataset. Hopefully it can be added soon. I would like the web app figure interaction to be as close to that available in MATLAB itself as far as possible.

  1 Comment

Justus Mayer
Justus Mayer on 17 Aug 2020
so when I call this function it shows me the DataTips icon but I have no idea why.
ax2 = subplot(2,1,1,'Parent',app.Panel_2_3);
zoomHandle = zoom(ax2);
set(zoomHandle,'ActionPostCallback',@update_google_map);
set(app.tViewUIFigure,'pointer','arrow')

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!