Commit e42edd50597c21661b92bc7e07fb3d88c4cd3041
1 parent
3995e067
Exists in
master
and in
52 other branches
Do not synchronize y-axis zoom in multiplot mode
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsMultiPlotClass.php
... | ... | @@ -24,8 +24,12 @@ class IHMInputOutputParamsMultiPlotClass extends IHMInputOutputParamsPlotClass |
24 | 24 | |
25 | 25 | foreach ($multiplotInput->plots as $index => $plot) { |
26 | 26 | if ($isAction) { |
27 | + $crtInteractiveId = PLOT_RESULT_FILE_KEY."_".$plot->{'tab-index'}; | |
28 | + if ((($input->{'action'}->action == 'zoom') || ($input->{'action'}->action == 'undozoom')) && ($input->{'action'}->axeId != 'timeAxis') && ($crtInteractiveId != $input->action->interactiveId)) { | |
29 | + continue; | |
30 | + } | |
27 | 31 | $request = clone $input; |
28 | - $request->action->interactiveId = PLOT_RESULT_FILE_KEY."_".$plot->{'tab-index'}; | |
32 | + $request->action->interactiveId = $crtInteractiveId; | |
29 | 33 | parent::unmarshallRequest($request); |
30 | 34 | } |
31 | 35 | else { | ... | ... |