class_docstr: `Timeline` provides functions like switching and playing between multiple charts.
code: def add(self, chart: Base, time_point: str):
      for dep in chart.js_dependencies.items:
          self.js_dependencies.add(dep)
      self._time_points.append(time_point)
  
      self.options.get("baseOption").get("timeline").update(
          data=self._time_points
      )
      self.options.get("options").append(
          {
              "backgroundColor": chart.options.get("backgroundColor"),
              "series": chart.options.get("series"),
              "xAxis": chart.options.get("xAxis"),
              "yAxis": chart.options.get("yAxis"),
              "title": chart.options.get("title"),
              "tooltip": chart.options.get("tooltip"),
              "visualMap": chart.options.get("visualMap"),
              "color": chart.options.get("color"),
              "graphic": chart.options.get("graphic"),
              "bmap": chart.options.get("bmap"),
              "toolbox": chart.options.get("toolbox"),
              "dataset": chart.options.get("dataset"),
              "radiusAxis": chart.options.get("radiusAxis"),
              "angleAxis": chart.options.get("angleAxis"),
          }
      )
      self.__check_components(chart)
      self.options.get("baseOption").update(
          series=chart.options.get("series")
      )
      return self
  
file_path: pyecharts/pyecharts/charts/composite_charts/timeline.py
imports: from ...None import options
  from ...None import types
  from ...charts.chart import Base
label_desc: Use image node_id 3 for calling the Timeline obj's underlying member method code with example usage: obj.add(chart, time_point) and returns: self