Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions lib/SVG/Graph/Graph.rb
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down Expand Up @@ -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,

Expand Down