diff options
| author | Jean-Philippe Moal <[email protected]> | 2013-10-09 16:43:35 +0200 |
|---|---|---|
| committer | Jean-Philippe Moal <[email protected]> | 2013-10-09 16:43:35 +0200 |
| commit | 791135058aa5c363d7f3098850f1a74266184511 (patch) | |
| tree | 962dba4df3dfa01f766715998f85f22be5e18bdc | |
| parent | 3bf46a00d717d5e991166360bf4a2ece41cc3fbc (diff) | |
| download | caxlsx-791135058aa5c363d7f3098850f1a74266184511.tar.gz caxlsx-791135058aa5c363d7f3098850f1a74266184511.zip | |
Fix ScatterChart#y_val_axis returning the wrong axis
The y_val_axis method was returning the x axis instead of the y axis.
| -rw-r--r-- | lib/axlsx/drawing/scatter_chart.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/scatter_chart.rb b/lib/axlsx/drawing/scatter_chart.rb index 526bd6d5..18d3126c 100644 --- a/lib/axlsx/drawing/scatter_chart.rb +++ b/lib/axlsx/drawing/scatter_chart.rb @@ -25,7 +25,7 @@ module Axlsx # the y value axis # @return [ValAxis] def y_val_axis - axes[:x_val_axis] + axes[:y_val_axis] end alias :yValAxis :y_val_axis |
