I have created a custom waveform graph for a potential application at work and have run into a slight hitch.
I have added custom images to the Cursor, Zoom and Pan graph palette buttons but don't seem to be able to change the Zoom buttons sub images. (see image)
Could any one tell me how to change the images of these controls?
I'm trying to convince my boss that nice displays can be made in LabVIEW and don't want to fall at the last hurdle.
Thanks for looking,
Solved! Go to Solution.
thanks for replying!
How would i go about doing that?
I get how to make the pictring but not to sure how to get that to display rather than the default one.
hide the original zoom palette. Place your own button instead. Show the PictRing when the user clicks your button…
Unfortunately there seems to be no property to set the zoom mode of the graph, so it doesn't help to replace the zoom palette by your own controls. And AFAIK you cannot customize the zoom palette…
(You might create your own zoom feature using cursors or right-click menus.)
It seems a bit stupid that the zoom pallet cannot be edited.
I guess that i am stuck using the default then!
hopefully NI will change this in future.....
I wonder if I found wherever the zoom pallet is located and changed it that would work? i guess the change would filter to all items that use the zoom pallet but that may not be a bad thing!
Not an answer to your question, but here's some reference material for customizing controls/indicators.
In regards to the zoom feature, you can create a "mouse wheel" event and zoom in/out to the mouse coordinates based on some rules you set (rate at which the axes limits change with mouse wheel movement). Not the same thing, but it can be handy.
Thanks for the link.
I've already got pretty good at customizing my controls to get the look and feel that i am trying to achieve, it's just the graph zoom pallet that i am struggling with as there is no option to change the images in this pallet.
I'll have a look into zoom on mouse wheel and see if i can achieve what i want to do that way, although this will probably give me the headache of people accidentally zooming in/out.....