code: def _chart(self, x, y, chart_type, opts, style, label, options, **kwargs):
  		
  		if opts is not None:
  			self.chart_opts = opts
  		if style is not None:
  			self.chart_style = style
  		if label is not None:
  			self.label = label
  		self.x = x
  		self.y = y
  		if chart_type is None:
  			return
  		try:
  			chart_obj = self._get_chart(chart_type, x, y, style=style,
  										opts=opts, label=label,
  										options=options, **kwargs)
  			return chart_obj
  		except Exception as e:
  			self.err(e)
docs: Initialize chart options