code: def _append_legend(self, name):
      self.options.get("legend")[0].get("data").append(name)
  
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 5 for calling the Chart obj's underlying member method code with example usage: obj._append_legend(name) without return types