code: def extend_axis(
      self,
      xaxis_data: Sequence = None,
      xaxis: types.Axis = None,
      yaxis: types.Axis = None,
  ):
      if xaxis is not None:
          if isinstance(xaxis, opts.AxisOpts):
              xaxis = xaxis.opts
          xaxis.update(data=xaxis_data)
          self.options["xAxis"].append(xaxis)
      if yaxis is not None:
          if isinstance(yaxis, opts.AxisOpts):
              yaxis = yaxis.opts
          self.options["yAxis"].append(yaxis)
      return self
  
imports: from ..None import options
  from ..None import types
  from ..charts.base import Base
  from ..globals import RenderType, ThemeType, ToolTipFormatterType
  from ..types import Optional, Sequence
label_desc: Use image node_id 2 for calling the RectChart obj's underlying member method code with example usage: obj.extend_axis(xaxis_data, xaxis, yaxis) and returns: self