draw_data (SVG::Graph::Line)

    # File temp/Graph/Line.rb, line 170
          def draw_data
            fieldheight = field_height
            fieldwidth = field_width
            line = @data.length

            for data in @data.reverse
              lpath = "M0 #@graph_height L"
              field_count = 0
              data[:data].each { |field|
                x = fieldwidth * field_count
                y = @graph_height - field * fieldheight
                lpath << "#{x} #{y} "
                field_count += 1
              }

              if area_fill
                field_count = 0
                @graph.add_element( "path", {
                  "d" => "#{lpath} V#@graph_height Z",
                  "class" => "fill#{line}"
                })
              end

              @graph.add_element( "path", {
                "d" => "M0 #@graph_height #{lpath}",
                "class" => "line#{line}"
              })

              if show_data_points || show_data_values
                field_count = 0
                data[:data].each { |field|
                  if show_data_points
                    @graph.add_element( "circle", {
                      "cx" => fieldwidth * field_count,
                      "cy" => @graph_height - field * fieldheight,
                      "r" => "2.5",
                      "class" => "dataPoint#{line}"
                    })
                  end
                  make_datapoint_text(
                    fieldwidth * field_count,
                    @graph_height - field*fieldheight - 6,
                    field )
                  field_count += 1
                }
              end
              line -= 1
            end
          end