Menu

#279 Secondary axes in plots are not working if the second range is set

v1.1.x
fixed
None
v1.1.0
Bug Fix
2018-03-04
2018-01-30
Erik Hänel
No

The (automatic) secondary axes in plots are not generated, if the range for the y interval of the main axis is set.

Analysis:
The reason is the passed second axis explicitly. The current conditions only evaluate the necessary code branches, if the number of passed ranges is below 2. This is not the case, if the second range is set by the user.

Implementation:
The fix was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
Not needed - Bug fix.

Tests:
The fix was added to the automatic tests. No deviations detected. Bug fix implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2018-01-30
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-01-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The (automatic) secondary axes in plots are not generated, if the range for the y interval of the main axis is set.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-01-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     The (automatic) secondary axes in plots are not generated, if the range for the y interval of the main axis is set.
    
     **Analysis:**
    +The reason is the passed second axis explicitly. The current conditions only evaluate the necessary code branches, if the number of passed ranges is below 2. This is not the case, if the second range is set by the user.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-01-30
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     The reason is the passed second axis explicitly. The current conditions only evaluate the necessary code branches, if the number of passed ranges is below 2. This is not the case, if the second range is set by the user.
    
     **Implementation:**
    +The fix was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +Not needed - Bug fix.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2018-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     Not needed - Bug fix.
    
     **Tests:**
    +The fix was added to the automatic tests. No deviations detected. Bug fix implemented successfully.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB