Hello! I have an application where I load selectable vi's into a subpanel. I'm getting reports that sometimes when loading the chart vi (that has been running in the background plotting data) the lines don't show up. If they click the chart area (when this happens) the lines will show up. I haven't witnessed it personally.
Any thoughts on what this could be, or actions to perform to help investigate?
charts/graphs, which are invisible, might not be updated…
Can you rescale the chart Y axis after loading into subpanel? This should trigger an update…
Hey Gerd, that's a great idea and easily implemented.
Quick question for discussion, why would this behavior happen on rare occasions and not always when loading/unloading/loading the vi to the sub panel? I can't recreate it in the development environment nor in the executable. It seems to happen rarely/sporadically.
Do you have an event triggering on mouse down on the graph? Maybe that initiates a redraw of the graph and thus makes it display the plot that doesn't show at first. I have seen some issues with redraw on charts but not such that an entire plot does not display, so I will guess there is something in your code that does it. If you could share the code we could help more.