From: TKMark <8904invalid@...> Date: 2005-01-21T19:00:57+09:00 Subject: SVG::Graph Guys I have tried SVG::Graph... my goodness, this is so great. However I found a couple of strange things in the documentation. 1) The links to the sample are broken (for example: www.germane- software/repositories/public/SVG/test/single.rb) 2) If I try the example: require 'SVG/Graph/Pie' fields = %w(Jan Feb Mar) data_sales_02 = [12, 45, 21] graph = SVG::Graph::Pie.new({ :height => 500, :width => 300, :fields => fields, }) graph.add_data({ :data => data_sales_02, :title => 'Sales 2002', }) print "Content-type: image/svg+xml\r\n\r\n" print graph.burn(); in this way: graph.rb > graph.svg Then I get an error while loading the image at the first line. It doesn't like the -print "Content-type: image/svg+xml\r\n\r\n"-. Eliminating that line it works like a charm. Could you please explain me why do I have to eliminate that line to make it work? Thanks, TKMark Inviato da www.mynewsgate.net