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,8 +24,12 @@ class IHMInputOutputParamsMultiPlotClass extends IHMInputOutputParamsPlotClass | ||
24 | 24 | ||
25 | foreach ($multiplotInput->plots as $index => $plot) { | 25 | foreach ($multiplotInput->plots as $index => $plot) { |
26 | if ($isAction) { | 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 | $request = clone $input; | 31 | $request = clone $input; |
28 | - $request->action->interactiveId = PLOT_RESULT_FILE_KEY."_".$plot->{'tab-index'}; | 32 | + $request->action->interactiveId = $crtInteractiveId; |
29 | parent::unmarshallRequest($request); | 33 | parent::unmarshallRequest($request); |
30 | } | 34 | } |
31 | else { | 35 | else { |