def line(*args, **kwargs):
line_series_kwargs = {}<EOL>for kwarg in ("<STR_LIT:name>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"):<EOL><INDENT>if kwarg in kwargs:<EOL><INDENT>line_series_kwargs[kwarg] = kwargs[kwarg]<EOL>del kwargs[kwarg]<EOL><DEDENT><DEDENT>if "<STR_LIT>" not in line_series_kwargs:<EOL><INDENT>line_series_kwargs["<STR_LIT>"] = colors[<NUM_LIT:0>]<EOL><DEDENT>series = LineSeries(*args, **line_series_kwargs)<EOL>chart = AxisChart(series, **kwargs)<EOL>return chart<EOL>
This function creates a line chart. Specifcally it creates an
    :py:class:`.AxisChart` and then adds a :py:class:`.LineSeries` to it.

    :param \*data: The data for the line 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/graphics.\
    html#omnicanvas.graphics.ShapeGraphic.line_style>`_ for acceptable values.
    :raises ValueError: if the size and length of the data doesn't match either\
    format.
    :param Number linewidth: The width in pixels of the data points' edge.
    :param str title: The chart's title. This will be displayed at the top of\
    the chart.
    :param width: The width in pixels of the chart.
    :param height: The height in pixels of the chart.
    :param str x_label: The label for the x-axis.
    :param str y_label: The label for the y-axis.
    :rtype: :py:class:`.AxisChart`