08-12-2013 10:23 AM
Strange thing happens: when I've got multiple plots, and they all are hidden (Visibility=Collapsed), then when I output data, it is shown first, and then hidden (instead of not being drawn in the first place). When I've got at least one visible plot, then invisible ones aren't drawn as expected.
Solved! Go to Solution.
08-13-2013 09:49 AM
I was able to reproduce this issue when all plots are hidden in a graph with a raster render mode. I have created a task to fix this in the next Measurement Studio release.
As a workaround, you can use this function to clear the graph:
private void ClearRasterPlotArea( ) {
if( graph.ActualRenderMode == RenderMode.Raster ) {
RenderMode renderMode = graph.RenderMode;
graph.RenderMode = RenderMode.Vector;
graph.RenderMode = renderMode;
}
}
When a graph is in raster mode, it temporarily switches the graph to vector then back to the previous render mode, forcing the raster target to be cleared.
08-11-2015 12:25 PM
Just wanted to let you know this issue was fixed in the Measurement Studio 2015 release.