burn (SVG::Graph::Graph)

    # File temp/Graph/Graph.rb, line 179
          def burn
            raise "No data available" unless @data.size > 0

            calculations if methods.include? 'calculations'

            start_svg
            calculate_graph_dimensions
            draw_graph
            draw_titles
            draw_legend
            draw_data
            style

            data = ""
            @doc.write( data, 0, true )

            if @config[:compress]
              if @@__have_zlib
                inp, out = IO.pipe
                gz = Zlib::GzipWriter.new( out )
                gz.write data
                gz.close
                data = inp.read
              else
                data << "<!-- Ruby Zlib not available for SVGZ -->";
              end
            end

            return data
          end