class_docstr: Graph super class containing generic common functions
class_docstr_tok: ["Graph","super","class","containing","generic","common","functions"]
docstr: Insert in desc tags informations for the javascript tooltip
code: def _tooltip_data(self, node, value, x, y, classes=None, xlabel=None):
      """Insert in desc tags informations for the javascript tooltip"""
      self.svg.node(node, "desc", class_="value").text = value
      if classes is None:
          classes = []
          if x > self.view.width / 2:
              classes.append("left")
          if y > self.view.height / 2:
              classes.append("top")
          classes = " ".join(classes)
  
      self.svg.node(node, "desc", class_="x " + classes).text = str(x)
      self.svg.node(node, "desc", class_="y " + classes).text = str(y)
      if xlabel:
          self.svg.node(node, "desc", class_="x_label").text = str(
              xlabel
          )
  
imports: from math import ceil, cos, sin, sqrt
  from pygal import stats
  from pygal._compat import is_list_like
  from pygal.graph.public import PublicApi
  from pygal.interpolate import INTERPOLATIONS
  from pygal.util import cached_property, compute_scale, cut, decorate, filter_kwargs, get_text_box, get_texts_box, majorize, rad, reverse_text_len, split_title, truncate
  from pygal.view import LogView, ReverseView, View, XYLogView
label_desc: Use image node_id 13 for calling the Graph obj's underlying member method code with example usage: obj._tooltip_data(node, value, x, y, classes, xlabel) without return types