class_docstr: <<< K-line >>>
  
  K-line shows the highest value, the lowest value,
  the starting value and the ending value of the data on the day,
  which is used to show the daily fluctuation of the data or
  the fluctuation of a certain period.
code: def add_yaxis(
      self,
      series_name: str,
      y_axis: types.Sequence[types.Union[opts.CandleStickItem, dict]],
      *,
      color_by: types.Optional[str] = "series",
      bar_width: types.Optional[types.Numeric] = None,
      layout: types.Optional[str] = None,
      xaxis_index: types.Optional[types.Numeric] = None,
      yaxis_index: types.Optional[types.Numeric] = None,
      markline_opts: types.MarkLine = None,
      markpoint_opts: types.MarkPoint = None,
      tooltip_opts: types.Tooltip = None,
      itemstyle_opts: types.ItemStyle = None,
  ):
      self._append_legend(series_name)
      self.options.get("series").append(
          {
              "type": ChartType.KLINE,
              "name": series_name,
              "colorBy": color_by,
              "layout": layout,
              "barWidth": bar_width,
              "xAxisIndex": xaxis_index,
              "yAxisIndex": yaxis_index,
              "data": y_axis,
              "markPoint": markpoint_opts,
              "markLine": markline_opts,
              "tooltip": tooltip_opts,
              "itemStyle": itemstyle_opts,
          }
      )
      return self
  
imports: from ...None import options
  from ...None import types
  from ...charts.chart import RectChart
  from ...globals import ChartType
label_desc: Use image node_id 2 for calling the Kline obj's underlying member method code with example usage: obj.add_yaxis(series_name, y_axis) and returns: self