09-17-2021 03:40 PM
My users need to zoom in on parts of their graphs in 99% of the applications I write. Are there built in zoom tools similar to the standard LabVIEW plots?
Solved! Go to Solution.
09-17-2021 04:22 PM
What's blocking you from using the built in tools?
09-17-2021 04:56 PM
@RkTrey wrote:
What's blocking you from using the built in tools?
That's my question, are there built-in zoom tools for the Advanced Plotting Toolkit? As far as I can tell all of the Advanced Plotting Toolkit plots are shown in a picture control. AFAIK, picture controls don't have built-in zoom tools.
09-17-2021 08:12 PM - edited 09-17-2021 08:13 PM
Oh heck I'm sorry; I completely overlooked what forum this was posted in.
I don't think this toolkit provides any interactive features. If you need user interaction and your distribution can include Python, you may take a look at Plot.ly. LabPlot.ly (https://www.vipm.io/package/foerster_tech_lib_labplot_ly/) was released, about a year ago. Plot.ly plots are super feature rich though I can't speak to how well LabPlot.ly works.
You could attempt to roll your own zoom features for the picture control (https://lavag.org/topic/20177-control-picture-zoom/) but I'd wager reworking your code base to work with Plot.ly would result in better useability in shorter delivery time.
09-20-2021 10:11 AM
Thanks for the info. I like the sound of Plot.ly but the Python distribution requirement is going to make things a bit more difficult than I'd like, so I'll probably stick to the standard LabVIEW plotting tools, even though the APT plots look WAY nicer. I can't justify the time requirement to get custom zoom working in APT 😕