Since upgrading to LV2013, we have seen several of our GUI windows that contain XY Graphs revert the "Line Style" property that was saved. We have some graphs containing multiple plots, some of which have solid lines and dashed lines in them. We typically just configure the plot properties at edit time and save the VI. Starting with 2013, we started seeing problems where lines saved as "Dashed" style were reverting to "Solid" in compiled executable.
We have tried re-saving with the property asserted again, but it always seems to revert when we build and run the exe.
We can certainly do this programmatically. We'll probably create a subvi that accepts a graph reference, and then an array of (plot index + line style) clusters, so we can drop that everywhere we need it. But that sucks for the following reasons:
- it's brittle; if we change the order of plot items in the graph, we have to remember to update the inputs to that subvi
- it's not very extensible; it's easy enough to do for LineStyle, but if we find other properties we need to update like this, it quickly turns into a big ordeal
- it used to work