summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-11-23 15:08:42 +0900
committerRandy Morgan <[email protected]>2012-11-23 15:08:42 +0900
commit55f4e147bf2bf687ba97aee2cb8a3c717f878fe2 (patch)
treeedc60e077975b199e2b1c5dfab4fb346e934b37f /lib
parent1b89bb7c0835683bbc42017b6815d6471de73ad9 (diff)
downloadcaxlsx-55f4e147bf2bf687ba97aee2cb8a3c717f878fe2.tar.gz
caxlsx-55f4e147bf2bf687ba97aee2cb8a3c717f878fe2.zip
Updated thin_chars and replaced cover_me with simplecov
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/drawing/chart.rb2
-rw-r--r--lib/axlsx/workbook/worksheet/worksheet.rb3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/axlsx/drawing/chart.rb b/lib/axlsx/drawing/chart.rb
index 35e2089a..1006f25e 100644
--- a/lib/axlsx/drawing/chart.rb
+++ b/lib/axlsx/drawing/chart.rb
@@ -14,7 +14,7 @@ module Axlsx
# @option options [Array|String|Cell] start_at The X, Y coordinates defining the top left corner of the chart.
# @option options [Array|String|Cell] end_at The X, Y coordinates defining the bottom right corner of the chart.
def initialize(frame, options={})
- @style = 18
+ @style = 18
@view_3D = nil
@graphic_frame=frame
@graphic_frame.anchor.drawing.worksheet.workbook.charts << self
diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb
index 2080a7f0..681987d7 100644
--- a/lib/axlsx/workbook/worksheet/worksheet.rb
+++ b/lib/axlsx/workbook/worksheet/worksheet.rb
@@ -9,7 +9,8 @@ module Axlsx
# This is used for autowidth calculations
# @return [String]
def self.thin_chars
- @thin_chars ||= "^.acefijklrstxyzFIJL()-"
+ # removed 'e' and 'y' from this list - as a GUESS
+ @thin_chars ||= "^.acfijklrstxzFIJL()-"
end
# Creates a new worksheet.