class_docstr: Chart public functions
class_docstr_tok: ["Chart","public","functions"]
docstr: Render a sparkline
docstr_tok: ["Render","a","sparkline"]
code: def render_sparkline(self, **kwargs):
      """Render a sparkline"""
      spark_options = dict(
          width=200,
          height=50,
          show_dots=False,
          show_legend=False,
          show_x_labels=False,
          show_y_labels=False,
          spacing=0,
          margin=5,
          min_scale=1,
          max_scale=2,
          explicit_size=True,
          no_data_text="",
          js=(),
          classes=(Ellipsis, "pygal-sparkline"),
      )
      spark_options.update(kwargs)
      return self.render(**spark_options)
  
imports: import base64
  import io
  from pygal._compat import is_list_like
  from pygal.graph.base import BaseGraph
label_desc: Use image node_id 15 for calling the PublicApi obj's underlying member method code with example usage: obj.render_sparkline() and returns: self