def write_to_canvas(self, canvas, name):
points = self.canvas_points()<EOL>for point in points:<EOL><INDENT>canvas.add_oval(<EOL>point[<NUM_LIT:0>] - (self.size() / <NUM_LIT:2>), point[<NUM_LIT:1>] - (self.size() / <NUM_LIT:2>),<EOL>self.size(), self.size(),<EOL>fill_color=self.color(), line_width=self.linewidth(), name=name<EOL>)<EOL><DEDENT>
Writes the series to an OmniCanvas canvas.

        :param Canvas canvas: The canvas to write to.
        :param str name: The name to give the line graphic on the canvas.