diff --git a/lib/SVG/Graph/Graph.rb b/lib/SVG/Graph/Graph.rb index e7a8117..aeb0253 100644 --- a/lib/SVG/Graph/Graph.rb +++ b/lib/SVG/Graph/Graph.rb @@ -1,14 +1,13 @@ -begin - require 'zlib' - @@__have_zlib = true -rescue - @@__have_zlib = false -end - require 'rexml/document' module SVG module Graph + begin + require 'zlib' + @@__have_zlib = true + rescue + @@__have_zlib = false + end # === Base object for generating SVG Graphs # @@ -142,7 +141,6 @@ def initialize( config ) :x_label_font_size =>12, :y_label_font_size =>12, :x_title_font_size =>14, - :y_label_font_size =>12, :y_title_font_size =>14, :key_font_size =>10,