Opened 9 years ago
Last modified 7 years ago
#461 new defect
Visual fit range indicators are not aware of axis "scale"
Reported by: | butler | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | SasView 5.0.0 |
Component: | SasView | Keywords: | |
Cc: | Work Package: | SasView Bug Fixing |
Description
if the user changes the "scale" (using Change Scale) the vertical lines that visually show/set the x range being fit seem to be unaware of the x axis sclaing and locate at the x value = to qmin and qmax. Aside from being confusing it means the user cannot set the limits from the graph in this mode. This is not usually an issue but could be in some cases (e.g. for the Guinier model (Guinier plot) or for a flexible cylinder (Holtzer plot)).
Change History (3)
comment:1 Changed 9 years ago by butler
- Milestone changed from SasView 4.0.0 to SasView Next Release +1
comment:2 Changed 8 years ago by butler
comment:3 Changed 7 years ago by butler
- Milestone changed from SasView Next Release +1 to SasView 5.0.0
Note: See
TracTickets for help on using
tickets.
Upon further work (see for example ticket #590 and #592 regarding linearized fits) the problem may stem from the fact that these indicators are not part of the plottools package? I think the proper approach would be for the PlotPanel to have a a "region of interest" attributes which can be queried by a get method and set with a set method. The visual indicators which would interact with the set method should be controlled by plottools also. Any analysis panel can then get and set those attributes as necessary?
Probably there would need to be a global event that would be raised whenever the ROI attributes are set. Also one would envision that ROI is more general than 1D plots and the concept could be extended?