def line(self, *args, **kwargs):
if "<STR_LIT>" not in kwargs:<EOL><INDENT>kwargs["<STR_LIT>"] = self.next_color()<EOL><DEDENT>series = LineSeries(*args, **kwargs)<EOL>self.add_series(series)<EOL>
Adds a :py:class:`.LineSeries` to the chart.

        :param \*data: The data for the series as either (x,y) values or two big\
        tuples/lists of x and y values respectively.
        :param str name: The name to be associated with the series.
        :param str color: The hex colour of the line.
        :param str linestyle: The line pattern. See\
        `OmniCanvas docs <https://omnicanvas.readthedocs.io/en/latest/api/graph\
        ics.html#omnicanvas.graphics.ShapeGraphic.line_style>`_ for acceptable \
        values.
        :param Number linewidth: The width in pixels of the line.
        :raises ValueError: if the size and length of the data doesn't match\
        either format.