def draw_line_graph(self, graph):
    ' draw_line_graph(self, graph, center) -> [element, element,...]\n\n            o graph     GraphData object\n\n            Returns a line graph as a list of drawable elements\n        '
    line_elements = []
    data_quartiles = graph.quartiles()
    (minval, maxval) = (data_quartiles[0], data_quartiles[4])
    (btm, ctr, top) = self.track_radii[self.current_track_level]
    trackheight = (0.5 * (top - btm))
    datarange = (maxval - minval)
    if (datarange == 0):
        datarange = trackheight
    data = graph[self.start:self.end]
    if (graph.center is None):
        midval = ((maxval + minval) / 2.0)
    else:
        midval = graph.center
    resolution = max((midval - minval), (maxval - midval))
    (pos, val) = data[0]
    (lastangle, lastcos, lastsin) = self.canvas_angle(pos)
    posheight = (((trackheight * (val - midval)) / resolution) + ctr)
    lastx = (self.xcenter + (posheight * lastsin))
    lasty = (self.ycenter + (posheight * lastcos))
    for (pos, val) in data:
        (posangle, poscos, possin) = self.canvas_angle(pos)
        posheight = (((trackheight * (val - midval)) / resolution) + ctr)
        x = (self.xcenter + (posheight * possin))
        y = (self.ycenter + (posheight * poscos))
        line_elements.append(Line(lastx, lasty, x, y, strokeColor=graph.poscolor, strokeWidth=graph.linewidth))
        (lastx, lasty) = (x, y)
    return line_elements
draw_line_graph(self, graph, center) -> [element, element,...]

o graph     GraphData object

Returns a line graph as a list of drawable elements
def draw_line_graph(self, graph):
    ' draw_line_graph(self, graph, center) -> [element, element,...]\n\n            o graph     GraphData object\n\n            Returns a line graph as a list of drawable elements\n        '
    line_elements = []
    data_quartiles = graph.quartiles()
    (minval, maxval) = (data_quartiles[0], data_quartiles[4])
    (btm, ctr, top) = self.track_radii[self.current_track_level]
    trackheight = (0.5 * (top - btm))
    datarange = (maxval - minval)
    if (datarange == 0):
        datarange = trackheight
    data = graph[self.start:self.end]
    if (graph.center is None):
        midval = ((maxval + minval) / 2.0)
    else:
        midval = graph.center
    resolution = max((midval - minval), (maxval - midval))
    (pos, val) = data[0]
    (lastangle, lastcos, lastsin) = self.canvas_angle(pos)
    posheight = (((trackheight * (val - midval)) / resolution) + ctr)
    lastx = (self.xcenter + (posheight * lastsin))
    lasty = (self.ycenter + (posheight * lastcos))
    for (pos, val) in data:
        (posangle, poscos, possin) = self.canvas_angle(pos)
        posheight = (((trackheight * (val - midval)) / resolution) + ctr)
        x = (self.xcenter + (posheight * possin))
        y = (self.ycenter + (posheight * poscos))
        line_elements.append(Line(lastx, lasty, x, y, strokeColor=graph.poscolor, strokeWidth=graph.linewidth))
        (lastx, lasty) = (x, y)
    return line_elements