Can I check the logic of clearWith and images, please?
An example of what I am doing would have two controls boolean xxx and yyy (anything).
What I am wanting is that an image is left unchanged if option xxx is false, but redrawn if x is true or if yyy option changes.
So, I put this into the .a.yaml
Code: Select all
- name: graphPlot
type: Image
renderFun: .plotGraph
clearWith:
- yyy
When I do this, what happens is that the image is redrawn when xxx is true or yyy changes (as I want), but when xxx is set to false or xxx is false and yyy is changed, then the image just disappears.
I hope this makes sense. Is there anything I am not understanding?
Many thanks,