09-09-2013 05:30 AM
I have a panel to which multiple graphs are being added dynamically. It is important to me that the x axis and y axis of each graph lines up so graphs can be easily compared to each other. This works fine initially, however if i zoom into one of the graphs or perform a ResetZoomPan() the location of the Y axis appears to move on the graph in question, sometimes the divisions on the x axis also change. This means the Y axis on each graph no longer line up with each other making it difficult to draw direct comparisons.
Is there any way to fix the location of the Y axis and prevent it from moving? Also how can the divisions be fixed so we can zoom and reset without them changing?
09-09-2013
10:53 AM
- last edited on
11-20-2024
08:49 AM
by
Content Cleaner
Based on the change in the number of minor divisions between the two screenshots, it looks like the restored axis range does not quite match the original range. This is a known issue with the current history implementation in the graph.
Some possible solutions:
RangeChanged event to ensure the range is given an appropriate value, as described in the linked question above.SuppressScaleLayout to true so that the graph allocates space for the scales once.
08-11-2015
12:30 PM
- last edited on
11-20-2024
08:49 AM
by
Content Cleaner
Just wanted to let you know this issue (#403056) was fixed in the Measurement Studio 2015 release.