def add_series(self, series):
if not isinstance(series, Series):<EOL><INDENT>raise TypeError("<STR_LIT>" % str(series))<EOL><DEDENT>self._all_series.append(series)<EOL>series._chart = self<EOL>
Adds a :py:class:`.Series` to the chart.

        :param Series series: The :py:class:`.Series` to add.